package com.fzzy.async.fzzy35.entity; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import java.io.Serializable; import java.util.Date; /** * 合同 * * @author: chen * */ @Data @Entity @Table(name = "D_M_CONTRACT") public class MContract implements Serializable { private static final long serialVersionUID = 1L; @Id @Column(name = "ID_", length = 40) @PropertyDef(label = "ID_") private String id; @Column(name = "COMPANY_ID_", length = 10) @PropertyDef(label = "组织编码") private String companyId; @Column(name = "DEPT_ID_", length = 40) @PropertyDef(label = "库区编码") private String deptId; @Column(name = "PLAN_ID_", length = 40) @PropertyDef(label = "计划编码") private String planId; @Column(name = "TYPE_", length = 20) @PropertyDef(label = "合同类型") private String type; @Column(name = "NAME_", length = 50) @PropertyDef(label = "合同名称") private String name; @Column(name = "YEAR_", length = 10) @PropertyDef(label = "年份") private String year; @Column(name = "CUSTOMER_ID_", length = 20) @PropertyDef(label = "客户编码") private String customerId; @Column(name = "CUSTOMER_NAME_", length = 50) @PropertyDef(label = "客户名称") private String customerName; @Column(name = "CUSTOMER_TYPE_", length = 10) @PropertyDef(label = "客户类型") private String customerType; @Column(name = "CUSTOMER_BANK_", length = 50) @PropertyDef(label = "客户开户行") private String customerBank; @Column(name = "CUSTOMER_BANK_ACCOUNT_", length = 40) @PropertyDef(label = "客户开户行账号") private String customerBankAccount; @Column(name = "CUSTOMER_SIGN_USER_", length = 50) @PropertyDef(label = "客户签约人") private String customerSignUser; @Column(name = "BANK_", length = 50) @PropertyDef(label = "本方开户行") private String bank; @Column(name = "BANK_ACCOUNT_", length = 40) @PropertyDef(label = "本方开户行账号") private String bankAccount; @Column(name = "SIGN_USER_", length = 50) @PropertyDef(label = "本方签约人") private String signUser; @Column(name = "SIGN_ADDRESS_", length = 50) @PropertyDef(label = "签约地址") private String signAddress; @Column(name = "PRICE_") @PropertyDef(label = "合同单价,元/吨") private Double price; @Column(name = "MONEY_") @PropertyDef(label = "合同总金额") private Double money; @Column(name = "CONTRACT_AMOUNT_") @PropertyDef(label = "合同数量") private Double contactAmount; @Column(name = "COMPLETE_NUM_") @PropertyDef(label = "合同完成数量") private Double completeNum; @Column(name = "FOOD_VARIETY_", length = 20) @PropertyDef(label = "粮食品种") private String foodVariety; @Column(name = "FOOD_TYPE_", length = 20) @PropertyDef(label = "粮食性质") private String foodType; @Column(name = "PAY_TYPE_", length = 20) @PropertyDef(label = "支付方式") private String payType; @Column(name = "CREATE_USER_", length = 50) @PropertyDef(label = "创建人") private String createUser; @Column(name = "CREATE_TIME_") @PropertyDef(label = "创建时间") private Date createTime; @Column(name = "SIGNING_TIME_") @PropertyDef(label = "签订时间") private Date signingTime; @Column(name = "BEGIN_TIME_") @PropertyDef(label = "有效开始时间") private Date beginTime; @Column(name = "END_TIME_") @PropertyDef(label = "有效截止时间") private Date endTime; @Column(name = "REMARK_", length = 200) @PropertyDef(label = "备注") private String remark; }