| | |
| | | package com.yuanchu.limslaboratory.pojo; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import java.time.LocalDateTime; |
| | | import com.baomidou.mybatisplus.annotation.*; |
| | | |
| | | import java.io.Serializable; |
| | | import java.time.LocalDateTime; |
| | | import java.util.Date; |
| | | import java.util.Map; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.NoArgsConstructor; |
| | | import lombok.experimental.Accessors; |
| | | import org.springframework.format.annotation.DateTimeFormat; |
| | | |
| | | /** |
| | | * <p> |
| | | * |
| | | * |
| | | * </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; |
| | | private String age; |
| | | |
| | | @ApiModelProperty(value = "个性签名") |
| | | private String info; |
| | | |
| | | @ApiModelProperty(value = "在职状态 正常>=1,离职<=0") |
| | | private Integer jobState; |
| | | |
| | | private LocalDateTime createTime; |
| | | @TableField(fill = FieldFill.INSERT) |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | private Date createTime; |
| | | |
| | | private LocalDateTime updateTime; |
| | | @TableField(fill = FieldFill.INSERT_UPDATE) |
| | | @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; |
| | | |
| | | 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; |
| | | } |
| | | } |