package com.ruoyi.require.pojo; import com.baomidou.mybatisplus.annotation.*; import io.swagger.v3.oas.annotations.media.Schema; import lombok.Data; import org.springframework.format.annotation.DateTimeFormat; import java.time.LocalDate; import java.time.LocalDateTime; /** *
* 外来人员登记 *
* * @author * @since 2024-11-19 07:17:35 */ @Data @TableName("cnas_foreign_register") @Schema(description = "外来人员登记") public class ForeignRegister { @TableId(value = "register_id", type = IdType.AUTO) private Integer registerId; @Schema(description = "登记如期") @DateTimeFormat(pattern = "yyyy-MM-dd") private LocalDate registerDate; @Schema(description = "进入区域") private String area; @Schema(description = "进入人员") private String personnel; @Schema(description = "进入原因") private String reason; @Schema(description = "陪同人员id") private Integer accompanyingId; @Schema(description = "陪同人员") private String accompanyingName; @Schema(description = "批准人id") private Integer approveId; @Schema(description = "批准人") private String approveName; @Schema(description = "保密及其他情况") private String confidentiality; @Schema(description = "备注") private String remark; @Schema(description = "创建人") @TableField(fill = FieldFill.INSERT) private Integer createUser; @Schema(description = "创建时间") @TableField(fill = FieldFill.INSERT) private LocalDateTime createTime; @Schema(description = "修改人") @TableField(fill = FieldFill.INSERT_UPDATE) private Integer updateUser; @Schema(description = "修改时间") @TableField(fill = FieldFill.INSERT_UPDATE) private LocalDateTime updateTime; }