package com.ld.igds.models; import java.io.Serializable; import java.util.Date; import java.util.List; import javax.persistence.*; import com.bstek.dorado.annotation.PropertyDef; import lombok.Data; /** * OA-绩效考核 * * @author: andy.jia * @description: * @version: * @data:2020年5月27日 */ @Data @Entity @Table(name = "D_OA_APPRAISAL") public class OAAppraisal 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 = 100) @PropertyDef(label = "考核项目") private String name; @Column(name = "START_") @PropertyDef(label = "考核周期起") private Date start; @Column(name = "END_") @PropertyDef(label = "考核周期至") private Date end; @Column(name = "PUBLISH_TIME_") @PropertyDef(label = "发布日期", description = "格式:YYYY-MM-DD") private Date publishTime; @Column(name = "PUBLISH_USER_", length = 50) @PropertyDef(label = "发布者/单位") private String publishUser; @Column(name = "STATUS_", length = 20) @PropertyDef(label = "状态") private String status; @Column(name = "REMARK_", length = 255) @PropertyDef(label = "备注") private String remark; @Transient private List details; }