You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
1.4 KiB
55 lines
1.4 KiB
package com.zilber.boot.intelligencesite.entity;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import java.time.LocalDateTime;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
|
import io.swagger.annotations.ApiModel;
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
import lombok.experimental.Accessors;
|
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
|
|
/**
|
|
* <p>
|
|
* 安全教育
|
|
* </p>
|
|
*
|
|
* @author lsc
|
|
* @since 2025-05-06
|
|
*/
|
|
@Data
|
|
@EqualsAndHashCode(callSuper = false)
|
|
@Accessors(chain = true)
|
|
@TableName("i_safe")
|
|
@ApiModel(value="ISafe对象", description="安全教育")
|
|
public class ISafe implements Serializable {
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
private Long id;
|
|
|
|
@ApiModelProperty(value = "姓名")
|
|
private String name;
|
|
|
|
@ApiModelProperty(value = "进项安全教育啥时间")
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
private Date date;
|
|
|
|
@ApiModelProperty(value = "创建时间")
|
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
|
private Date createTime;
|
|
|
|
@ApiModelProperty(value = "创建人")
|
|
private String creator;
|
|
|
|
|
|
}
|
|
|