| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285 |
- package com.dk.oauth.entity;
- import cn.afterturn.easypoi.excel.annotation.Excel;
- import com.baomidou.mybatisplus.annotation.*;
- import java.io.Serializable;
- import com.dk.common.infrastructure.annotaiton.ExportTitle;
- import com.dk.common.infrastructure.handler.*;
- import com.dk.common.model.pojo.PageInfo;
- import com.fasterxml.jackson.annotation.JsonFormat;
- import lombok.Data;
- import lombok.AllArgsConstructor;
- import lombok.NoArgsConstructor;
- import lombok.EqualsAndHashCode;
- import lombok.experimental.Accessors;
- import io.swagger.annotations.ApiModel;
- import io.swagger.annotations.ApiModelProperty;
- import java.time.LocalDate;
- import java.util.List;
- import java.time.LocalDateTime;
- /**
- * 企业
- */
- @Data
- @AllArgsConstructor
- @NoArgsConstructor
- @EqualsAndHashCode(callSuper = true)
- @Accessors(chain = true)
- @ExportTitle("企业")
- @TableName(value = "t_a_company", schema = "dkic_a", autoResultMap = true)
- @ApiModel(value = "实体类:企业", description = "表名:t_a_company")
- public class Company extends PageInfo<Company> implements Serializable {
- /*
- * 数据库字段
- */
- /**
- * 企业ID
- */
- @TableId(value = "cp_id", type = IdType.AUTO)
- @ApiModelProperty(value = "企业ID")
- private Integer cpId;
- /**
- * 企业代码 (dc+xxxxxx)
- */
- @Excel(name = "企业代码 (dc+xxxxxx)")
- @ApiModelProperty(value = "企业代码 (dc+xxxxxx)")
- private String cpCode;
- /**
- * 企业名称
- */
- @Excel(name = "企业名称")
- @ApiModelProperty(value = "企业名称")
- private String cpName;
- /**
- * 所在服务器
- */
- @Excel(name = "所在服务器")
- @ApiModelProperty(value = "所在服务器")
- private String svcCode;
- /**
- * 注册日期
- */
- @Excel(name = "注册日期")
- @ApiModelProperty(value = "注册日期")
- @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDate openingDate;
- /**
- * 系统版本
- */
- @Excel(name = "系统版本")
- @ApiModelProperty(value = "系统版本")
- private String gradeCode;
- /**
- * 结束日期
- */
- @Excel(name = "结束日期")
- @ApiModelProperty(value = "结束日期")
- @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDate endDate;
- /**
- * 人数上限 (可以绑定微信的员工人数)
- */
- @Excel(name = "人数上限 (可以绑定微信的员工人数)")
- @ApiModelProperty(value = "人数上限 (可以绑定微信的员工人数)")
- private Integer maxStaffNum;
- /**
- * 当前人数 (当前绑定微信的员工人数)
- */
- @Excel(name = "当前人数 (当前绑定微信的员工人数)")
- @ApiModelProperty(value = "当前人数 (当前绑定微信的员工人数)")
- private Integer curStaffNum;
- /**
- * 有效标识 (1:正常 0:停用)
- */
- @Excel(name = "有效标识 (1:正常 0:停用)")
- @ApiModelProperty(value = "有效标识 (1:正常 0:停用)")
- private Boolean flgValid;
- /**
- * 备注
- */
- @Excel(name = "备注")
- @ApiModelProperty(value = "备注")
- private String remarks;
- /**
- * 企业状态(系统字典)
- */
- @Excel(name = "企业状态(系统字典)")
- @ApiModelProperty(value = "企业状态(系统字典)")
- private String cpStatus;
- /**
- * 创建时间 (触发器自动处理)
- */
- @Excel(name = "创建时间 (触发器自动处理)", format = "yyyy-MM-dd HH:mm:ss", width = 20)
- @ApiModelProperty(value = "创建时间 (触发器自动处理)")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime opCreateTime;
- /**
- * 创建用户 (触发器自动处理)
- */
- @Excel(name = "创建用户 (触发器自动处理)")
- @ApiModelProperty(value = "创建用户 (触发器自动处理)")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String opCreateUserId;
- /**
- * 修改时间 (触发器自动处理)
- */
- @Excel(name = "修改时间 (触发器自动处理)", format = "yyyy-MM-dd HH:mm:ss", width = 20)
- @ApiModelProperty(value = "修改时间 (触发器自动处理)")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime opUpdateTime;
- /**
- * 修改用户 (触发器自动处理)
- */
- @Excel(name = "修改用户 (触发器自动处理)")
- @ApiModelProperty(value = "修改用户 (触发器自动处理)")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String opUpdateUserId;
- /**
- * 数据操作应用 (触发器自动处理)
- */
- @Excel(name = "数据操作应用 (触发器自动处理)")
- @ApiModelProperty(value = "数据操作应用 (触发器自动处理)")
- private String opAppCode;
- /**
- * 数据时间戳 (触发器自动处理)
- */
- @Excel(name = "数据时间戳 (触发器自动处理)")
- @ApiModelProperty(value = "数据时间戳 (触发器自动处理)")
- @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
- @TableField(typeHandler = TimestampTypeHandler.class)
- private LocalDateTime opTimestamp;
- /**
- * 数据操作数据库用户 (触发器自动处理)
- */
- @Excel(name = "数据操作数据库用户 (触发器自动处理)")
- @ApiModelProperty(value = "数据操作数据库用户 (触发器自动处理)")
- private String opDbUser;
- /**
- * 所有者 (t_wx_user)
- */
- @Excel(name = "所有者 (t_wx_user)")
- @ApiModelProperty(value = "所有者 (t_wx_user)")
- @TableField(typeHandler = UuidTypeHandler.class)
- private String owner;
- /**
- * 负责人
- */
- @Excel(name = "负责人")
- @ApiModelProperty(value = "负责人")
- private String cpManager;
- /**
- * 负责人联系电话
- */
- @Excel(name = "负责人联系电话")
- @ApiModelProperty(value = "负责人联系电话")
- private String cpPhone;
- /**
- * 分享编号
- */
- @Excel(name = "分享编号")
- @ApiModelProperty(value = "分享编号")
- private String shareId;
- /**
- * 公司规模
- */
- @Excel(name = "公司规模")
- @ApiModelProperty(value = "公司规模")
- private String cpSize;
- /**
- * 门店规模
- */
- @Excel(name = "门店规模")
- @ApiModelProperty(value = "门店规模")
- private String shopSize;
- /**
- * 反馈
- */
- @Excel(name = "反馈")
- @ApiModelProperty(value = "反馈")
- private String feedback;
- /**
- * 版本名称
- */
- @ApiModelProperty(value = "版本名称")
- private String gradeName;
- /**
- * 授权
- */
- @ApiModelProperty(value = "授权")
- private String license;
- /**
- * 临时授权
- */
- @ApiModelProperty(value = "临时授权")
- private String licenseSocial;
- /*
- * 相关属性
- * @TableField(exist = false)
- */
- /*
- * 关联属性 + 查询条件
- * @TableField(exist = false)
- */
- private static final long serialVersionUID = 1L;
- }
|