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

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name="t_media_resource")
@Data
public class AdvertisingResources {
	
	@Id
	private Long mediaId;
	private String mediaCode;		//媒体编号
	private String mediaType;		//媒体类型
	private String mediaForm;		//媒体形式
	private String mediaUnit;		//单位
	private String mediaPriceUnit;//单价单位
	private int mediaHeight;		//规格-高
	private int mediaWidth;			//规格-宽
	private int meidaNumber;		//媒体数量
	private int mediaStatus;		//状态
	private String siteOne;			//位置1
	private String siteTwo;			//位置2
	private String organCode;		//物业编码
	private String organName;		//物业区域
	private String commId;			//区域id
	private String commName;		//物业项目
	private String commAddress;		//地址
	
	private int sort;				//
	
	private int version;			//
	
	private int isDelete;			//0-正常，1-删除
	
	@JsonFormat(pattern = "yyyy-MM-dd") 
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date createTime;		//创建时间
	
	private String createBy;		//code
	
	private String createByName;	//
	
	@JsonFormat(pattern = "yyyy-MM-dd") 
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date modTime;		//修改时间
	
	private String modBy;			//code
	
	private String modByName;		//
	

	
	
	
	
	
}
