package com.ruoyi.projectManagement.pojo; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import java.time.LocalDateTime; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; /** * 项目管理计划表(项目管理类型) * @TableName project_management_plan */ @TableName(value ="project_management_plan") @Data @Schema(description = "项目管理计划表(项目管理类型)") public class Plan { /** * */ @TableId(value = "id", type = IdType.AUTO) @Schema(description = "主键ID") private Long id; /** * 计划名称 */ @TableField(value = "name") @Schema(description = "计划名称") private String name; /** * 计划描述 */ @TableField(value = "description") @Schema(description = "计划描述") private String description; /** * 附件 ,进行分割 */ @TableField(value = "attachment") @Schema(description = "附件") private String attachment; /** * */ @TableField(value = "is_delete") @Schema(description = "是否删除") private Integer isDelete; /** * */ @TableField(value = "create_time",fill = FieldFill.INSERT) @Schema(description = "创建时间") private LocalDateTime createTime; /** * */ @TableField(value = "update_time",fill = FieldFill.INSERT_UPDATE) @Schema(description = "更新时间") private LocalDateTime updateTime; /** * */ @TableField(value = "create_user",fill = FieldFill.INSERT) @Schema(description = "创建人") private Integer createUser; /** * */ @TableField(value = "update_user",fill = FieldFill.INSERT_UPDATE) @Schema(description = "更新人") private Integer updateUser; @TableField(value = "create_user_name", fill = FieldFill.INSERT) private String createUserName; @TableField(value = "update_user_name", fill = FieldFill.INSERT_UPDATE) private String updateUserName; @TableField(fill = FieldFill.INSERT) private Long deptId; }