package cn.ubitech.ttc.entity; import cn.ubitech.ttc.model.authority.AuthorityModel; import com.baomidou.mybatisplus.annotations.TableField; import com.baomidou.mybatisplus.annotations.TableId; import com.baomidou.mybatisplus.enums.FieldFill; import com.baomidou.mybatisplus.enums.IdType; import lombok.Data; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; import java.io.Serializable; import java.util.Date; /** * @author lys * @create 2021-09-23 11:16 */ @Data @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) public class CompanyProvincialScienceSmall extends AuthorityModel { private static final long serialVersionUID = 1L; @TableId(value = "id", type = IdType.AUTO) private Long id; //企业id private Long companyid; //是否省科小 private Integer isprovincesciencesmall; //认定年份 @TableField(value = "recognitiondate",fill = FieldFill.INSERT) private Date recognitiondate; //节点id private String node; //创建时间 private Date createtime; @TableField(exist = false) private String tablename = "company_provincial_science_small"; @TableField(exist = false) private Integer tablecode; protected Serializable pkVal() { return this.id; } }