package cn.com.countrygarden.bi.main.model.mediaResource;


import java.util.Date;

import javax.persistence.Id;
import javax.persistence.Table;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

@Table(name="t_media_customer")
@Data
public class Customer {
	
	@Id
	private Long customerId;			//主键
	private int customerType;			//客户类型
	private String customerName;		//客户名称(公司名)
	private String customerNo;			//客户编号
	
	private String contactPhone;		//联系人电话
	private String contactName;			//联系人姓名
	private int customerIndustry;				//备注
	private String remark;				//备注
	
	private int sort;                
	private int version;             
	private int isDelete;    
	@JsonFormat(pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date createTime;         
	private String createBy;           
	private String createByName;      
	@JsonFormat(pattern = "yyyy-MM-dd")
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date modTime;            
	private String modBy;      
	private String modByName;     
	
	//private String organCode;
	

}
