package com.ld.igds.models; import java.io.Serializable; import java.util.Date; import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.Table; import lombok.Data; import com.bstek.dorado.annotation.PropertyDef; /** * OA-资产管理 * * @author: andy.jia * @description: * @version: * @data:2020年5月30日 * */ @Data @Entity @Table(name = "D_OA_ASSET") public class OAAsset 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 = 30) @PropertyDef(label = "所属分库") private String deptId; @Column(name = "NAME_", length = 100) @PropertyDef(label = "名称") private String name; @Column(name = "CATEGORY_", length = 30) @PropertyDef(label = "资产类别") private String category; @Column(name = "PRICE_") @PropertyDef(label = "价格") private Double price; @Column(name = "OLD_YEAR_") @PropertyDef(label = "折旧年限") private int oldYear; @Column(name = "USE_TIME_") @PropertyDef(label = "使用时间") private Date useTime; @Column(name = "KEEPER_", length = 30) @PropertyDef(label = "保管员") private String keeper; @Column(name = "STATUS_", length = 20) @PropertyDef(label = "资产状态") private String status; @Column(name = "HANDLE_USER_", length = 30) @PropertyDef(label = "经办人") private String handleUser; @Column(name = "HANDLE_TIME_") @PropertyDef(label = "经办时间") private Date handleTime; @Column(name = "PRODUCER_", length = 50) @PropertyDef(label = "生产商") private String producer; @Column(name = "TELEPHONE_", length = 20) @PropertyDef(label = "厂商电话") private String telephone; @Column(name = "REMARK_", length = 255) @PropertyDef(label = "备注") private String remark; @Column(name = "GPS_PHONE_", length = 255) @PropertyDef(label = "绑定的GPS设备") private String gpsPhone; }