package com.ld.igds.models; import java.io.Serializable; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; import javax.persistence.*; /** * 出入库客户-往来单位信息 * * @author */ @Data @Entity @Table(name = "D_INOUT_CUSTOMER") public class InoutCustomer implements Serializable{ /** * */ private static final long serialVersionUID = 1L; @Id @Column(name = "ID_", length = 40) @PropertyDef(label = "单位编码") 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 = "NAME_", length = 50) @PropertyDef(label = "单位名名称") private String name; @Column(name = "TYPE_", length = 4) @PropertyDef(label = "客户分类") private String type; @Column(name = "CARD_ID_", length = 20) @PropertyDef(label = "身份证号") private String cardId; @Column(name = "ADDRESS_", length = 200) @PropertyDef(label = "联系地址") private String address; @Column(name = "CONTACT_USER_", length = 50) @PropertyDef(label = "联系人") private String contactUser; @Column(name = "PHONE_", length = 20) @PropertyDef(label = "联系电话") private String phone; @Column(name = "BANK_", length = 50) @PropertyDef(label = "开户银行") private String bank; @Column(name = "BANK_NUM_", length = 30) @PropertyDef(label = "银行账号") private String bankNum; @Column(name = "FOOD_AREA_", length = 30) @PropertyDef(label = "种植面积") private Double foodArea = 0.0; @Transient @PropertyDef(label = "通知单id", description = "获取通知单id使用") private String noticeId; }