CompanyProvincialScienceSmall.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. package cn.ubitech.ttc.entity;
  2. import cn.ubitech.ttc.model.authority.AuthorityModel;
  3. import com.baomidou.mybatisplus.annotations.TableField;
  4. import com.baomidou.mybatisplus.annotations.TableId;
  5. import com.baomidou.mybatisplus.enums.FieldFill;
  6. import com.baomidou.mybatisplus.enums.IdType;
  7. import lombok.Data;
  8. import lombok.EqualsAndHashCode;
  9. import lombok.experimental.Accessors;
  10. import java.io.Serializable;
  11. import java.util.Date;
  12. /**
  13. * @author lys
  14. * @create 2021-09-23 11:16
  15. */
  16. @Data
  17. @EqualsAndHashCode(callSuper = false)
  18. @Accessors(chain = true)
  19. public class CompanyProvincialScienceSmall extends AuthorityModel<CompanyProvincialScienceSmall> {
  20. private static final long serialVersionUID = 1L;
  21. @TableId(value = "id", type = IdType.AUTO)
  22. private Long id;
  23. //企业id
  24. private Long companyid;
  25. //是否省科小
  26. private Integer isprovincesciencesmall;
  27. //认定年份
  28. @TableField(value = "recognitiondate",fill = FieldFill.INSERT)
  29. private Date recognitiondate;
  30. //节点id
  31. private String node;
  32. //创建时间
  33. private Date createtime;
  34. @TableField(exist = false)
  35. private String tablename = "company_provincial_science_small";
  36. @TableField(exist = false)
  37. private Integer tablecode;
  38. protected Serializable pkVal() {
  39. return this.id;
  40. }
  41. }