| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- package com.kxs.system.biz.model;
- import com.baomidou.mybatisplus.annotation.*;
- import com.baomidou.mybatisplus.extension.activerecord.Model;
- import io.swagger.v3.oas.annotations.media.Schema;
- import jakarta.validation.constraints.NotBlank;
- import jakarta.validation.constraints.NotNull;
- import lombok.Data;
- import lombok.EqualsAndHashCode;
- import java.io.Serial;
- import java.time.LocalDateTime;
- /**
- * 岗位信息表
- *
- * @author fxz
- * @date 2022-03-26 12:50:43
- */
- @Data
- @TableName("sys_post")
- @EqualsAndHashCode(callSuper = true)
- @Schema(description = "岗位信息表")
- public class SysPost extends Model<SysPost> {
- @Serial
- private static final long serialVersionUID = 1L;
- /**
- * 岗位ID
- */
- @TableId(value = "post_id", type = IdType.AUTO)
- @Schema(description = "岗位ID")
- private Long postId;
- /**
- * 岗位编码
- */
- @NotBlank(message = "岗位编码不能为空")
- @Schema(description = "岗位编码")
- private String postCode;
- /**
- * 岗位名称
- */
- @NotBlank(message = "岗位名称不能为空")
- @Schema(description = "岗位名称")
- private String postName;
- /**
- * 岗位排序
- */
- @NotNull(message = "排序值不能为空")
- @Schema(description = "岗位排序")
- private Integer postSort;
- /**
- * 岗位描述
- */
- @Schema(description = "岗位描述")
- private String remark;
- /**
- * 创建人
- */
- @TableField(fill = FieldFill.INSERT)
- @Schema(description = "创建人")
- private String createBy;
- /**
- * 修改人
- */
- @TableField(fill = FieldFill.UPDATE)
- @Schema(description = "修改人")
- private String updateBy;
- /**
- * 是否删除 -1:已删除 0:正常
- */
- @TableField(fill = FieldFill.INSERT)
- @Schema(description = "是否删除 -1:已删除 0:正常")
- private String delFlag;
- /**
- * 创建时间
- */
- @Schema(description = "创建时间")
- @TableField(fill = FieldFill.INSERT)
- private LocalDateTime createTime;
- /**
- * 更新时间
- */
- @Schema(description = "更新时间")
- @TableField(fill = FieldFill.UPDATE)
- private LocalDateTime updateTime;
- }
|