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

import cn.com.countrygarden.bi.main.util.entity.Audit;
import lombok.Data;

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

@Table(name="t_media_order")
@Data
public class MediaOrder implements Audit {
	@Id
	private Long orderId;
	@Column(name = "order_code")
	private String orderCode;
	@Column(name = "order_start_date")
	private Date orderStartDate;
	@Column(name = "order_end_date")
	private Date orderEndDate;
	@Column(name = "order_amount")
	private BigDecimal orderAmount;
	@Column(name = "order_status")
	private Integer orderStatus;
	@Column(name = "customer_id")
	private String customerId;
	@Column(name = "remark")
	private String remark;
	@Column(name = "sort")
	private int sort;
	@Column(name = "version")
	private int version;
	@Column(name = "is_delete")
	private Integer isDelete;
	@Column(name = "create_time")
	private Date createTime;
	@Column(name = "create_by")
	private String createBy;
	@Column(name = "create_by_name")
	private String createByName;
	@Column(name = "mod_time")
	private Date modTime;
	@Column(name = "mod_by")
	private String modBy;
	@Column(name = "mod_by_name")
	private String modByName;
	@Column(name = "organ_code")
	private String organCode;
	@Column(name = "sign_date")
	private Date signDate;
	@Column(name = "back_amount")
	private BigDecimal backAmount;

}
