| | |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.fasterxml.jackson.databind.annotation.JsonDeserialize; |
| | | import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
| | | import com.fasterxml.jackson.datatype.jsr310.deser.LocalDateTimeDeserializer; |
| | | import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import net.sf.jsqlparser.expression.DateTimeLiteralExpression; |
| | | import lombok.NoArgsConstructor; |
| | | import lombok.experimental.Accessors; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @author 江苏鵷雏网络科技有限公司 |
| | | * @since 2023-07-07 |
| | | */ |
| | | @Accessors(chain = true) |
| | | @Data |
| | | @NoArgsConstructor |
| | | @EqualsAndHashCode(callSuper = false) |
| | | @ApiModel(value="User对象", description="") |
| | | public class User implements Serializable { |
| | |
| | | private String email; |
| | | |
| | | @ApiModelProperty(value = "年龄") |
| | | private Integer age; |
| | | |
| | | @TableLogic(value = "1", delval = "0") |
| | | @ApiModelProperty(value = "在职状态 正常>=1,离职<=0") |
| | | private Integer jobState; |
| | | private String age; |
| | | |
| | | @ApiModelProperty(value = "个性签名") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "在职状态 正常>=1,离职<=0") |
| | | private Integer jobState; |
| | | |
| | | @TableField(fill = FieldFill.INSERT) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone="GMT+8") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createTime; |
| | | |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm", timezone="GMT+8") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date updateTime; |
| | | |
| | | @Version |
| | | private Integer version; |
| | | |
| | | @ApiModelProperty(value = "关联 角色id") |
| | | private Integer roleId; |
| | | private Long roleId; |
| | | |
| | | @ApiModelProperty(value = "关联 企业id") |
| | | private Integer enterpriseId; |
| | | |
| | | @ApiModelProperty(value = "组织架构Id", example = "2") |
| | | private Integer organizationId; |
| | | |
| | | @TableLogic(value = "1", delval = "0") |
| | | @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0") |
| | | private Integer state; |
| | | |
| | | public User(String account, String name, String phone, String email, String info) { |
| | | this.account = account; |
| | | this.name = name; |
| | | this.phone = phone; |
| | | this.email = email; |
| | | this.info = info; |
| | | } |
| | | } |