SaleLog.java 2.58 KB
Newer Older
peterchu committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109
package com.yutu.base.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author 99689
 *
 */
public class SaleLog implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String id;
	private String customerId;
	private String referenceId;
	private String logType;
	private String operatorAction;
	private String extraData;
	private String operatorId;
	private String operator;
	private Date createTime;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getCustomerId() {
		return customerId;
	}
	public void setCustomerId(String customerId) {
		this.customerId = customerId;
	}
	
	public String getReferenceId() {
		return referenceId;
	}
	public void setReferenceId(String referenceId) {
		this.referenceId = referenceId;
	}
	public String getLogType() {
		return logType;
	}
	public void setLogType(String logType) {
		this.logType = logType;
	}
	public String getOperatorAction() {
		return operatorAction;
	}
	public void setOperatorAction(String operatorAction) {
		this.operatorAction = operatorAction;
	}
	public String getExtraData() {
		return extraData;
	}
	public void setExtraData(String extraData) {
		this.extraData = extraData;
	}
	public String getOperatorId() {
		return operatorId;
	}
	public void setOperatorId(String operatorId) {
		this.operatorId = operatorId;
	}
	public String getOperator() {
		return operator;
	}
	public void setOperator(String operator) {
		this.operator = operator;
	}
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public SaleLog(String id, String customerId, String referenceId, String logType, String operatorAction,
                   String extraData, String operatorId, String operator, Date createTime) {
		super();
		this.id = id;
		this.customerId = customerId;
		this.referenceId = referenceId;
		this.logType = logType;
		this.operatorAction = operatorAction;
		this.extraData = extraData;
		this.operatorId = operatorId;
		this.operator = operator;
		this.createTime = createTime;
	}
	public SaleLog() {
		super();
	}
	@Override
	public String toString() {
		return "SaleLog [id=" + id + ", customerId=" + customerId + ", referenceId=" + referenceId + ", logType="
				+ logType + ", operatorAction=" + operatorAction + ", extraData=" + extraData + ", operatorId="
				+ operatorId + ", operator=" + operator + ", createTime=" + createTime + "]";
	}
	
	

}