package com.fzzy.async.fzzy35.entity;
|
|
import com.bstek.dorado.annotation.PropertyDef;
|
import lombok.Data;
|
import javax.persistence.*;
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* @since 2013-1-22
|
* @author Jacky.gao
|
*/
|
@Data
|
@Entity
|
@Table(name = "BDF2_DEPT")
|
public class DefaultDept implements Serializable {
|
|
private static final long serialVersionUID = -7669420244144806105L;
|
|
// ----------业务公共字段-------//
|
@Id
|
@Column(name = "ID_", length = 60)
|
private String id;
|
|
@Column(name = "COMPANY_ID_", length = 60)
|
private String companyId;
|
|
@Column(name = "PARENT_ID_", length = 60)
|
private String parentId;
|
|
@Column(name = "CREATE_DATE_")
|
@PropertyDef(label = "建成时间")
|
private Date createDate;
|
|
@Column(name = "NAME_", length = 60)
|
private String name;
|
|
@Column(name = "DESC_", length = 1000)
|
private String desc;
|
|
@Column(name = "TYPE_", length = 10)
|
@PropertyDef(label = "类型", description = "组织,库点")
|
private String type;
|
|
@Column(name = "CODE_", length = 60)
|
@PropertyDef(label = "编码", description = "用于上报的组织编码")
|
private String code;
|
|
@PropertyDef(label = "所在省")
|
@Column(name = "PROVINCE_", length = 30)
|
private String province;
|
|
@PropertyDef(label = "所在城市")
|
@Column(name = "CITY_", length = 30)
|
private String city;
|
|
@PropertyDef(label = "所在区县")
|
@Column(name = "COUNTRY_", length = 30)
|
private String country;
|
|
@Column(name = "LON_")
|
@PropertyDef(label = "经度")
|
private Double lon;
|
|
@Column(name = "LAT_")
|
@PropertyDef(label = "纬度")
|
private Double lat;
|
|
@Column(name = "POST_CODE_", length = 10)
|
@PropertyDef(label = "邮编")
|
private String postCode;
|
|
@Column(name = "BUILDING_NUM_")
|
@PropertyDef(label = "仓房数")
|
private Integer buildingNum;
|
|
@Column(name = "OIL_NUM_")
|
@PropertyDef(label = "油罐数")
|
private Integer oilNum;
|
|
@PropertyDef(label = "地址")
|
@Column(name = "ADDRESS_", length = 200)
|
private String address;
|
|
@PropertyDef(label = "联系人")
|
@Column(name = "CONTACT_", length = 50)
|
private String contact;
|
|
@PropertyDef(label = "联系电话")
|
@Column(name = "PHONE_", length = 20)
|
private String phone;
|
|
@Column(name = "FAX_", length = 20)
|
@PropertyDef(label = "传真")
|
private String fax;
|
|
// ----------单位字段-------//
|
@Column(name = "COMPANY_TYPE_", length = 10)
|
@PropertyDef(label = "单位类型", description = "1-粮食仓储企业;2-粮食购销企业;3-粮食加工企业;4-粮食设备制造企业;9-其他粮食企业")
|
private String companyType;
|
|
@Column(name = "NATURE_", length = 10)
|
@PropertyDef(label = "企业性质", description = "1-固有企业;2-民营企业;3-事业单位;9-其他内资企业;10-港澳台商投资企业;11-外商投资企业;")
|
private String nature;
|
|
@Column(name = "LEGAL_PERSON_", length = 30)
|
@PropertyDef(label = "法人")
|
private String legalPerson;
|
|
@Column(name = "DEPT_NUM_")
|
@PropertyDef(label = "库区数")
|
private Integer deptNum;
|
|
@Column(name = "REGISTER_CODE_", length = 30)
|
@PropertyDef(label = "工商登记注册号")
|
private String registerCode;
|
|
@Column(name = "CREDIT_CODE_", length = 20)
|
@PropertyDef(label = "信用编码")
|
private String creditCode;
|
|
// ----------库区字段-------//
|
@Column(name = "DEPOT_NUM_")
|
@PropertyDef(label = "廒间数")
|
private Integer depotNum;
|
|
@Column(name = "STORAGE_")
|
@PropertyDef(label = "库点设计储量", description = "单位:吨")
|
private Double storage;
|
|
@Column(name = "OIL_STORAGE_")
|
@PropertyDef(label = "库点设计罐容", description = "单位:吨")
|
private Double oilStorage;
|
|
@Column(name = "AREA_")
|
@PropertyDef(label = "库点设计面积", description = "单位:㎡")
|
private Double area;
|
|
@Column(name = "ACTING_RESERVE_", length = 1)
|
@PropertyDef(label = "是否代储", description = "1-是; 0-否")
|
private String actingReserve = "0";
|
|
@Column(name = "PROPERTY_RIGHT_", length = 2)
|
@PropertyDef(label = "库区产权", description = "1-自有; 2-租赁;9-其他")
|
private String propertyRight = "1";
|
|
@Column(name = "VAL_", length = 1)
|
@PropertyDef(label = "是否启用")
|
private String val;
|
}
|