package com.terra.lfdcexp.entity;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
/**
|
* ${comments}
|
*
|
* @author chenshun
|
* @email sunlightcs@gmail.com
|
* @date 2023-12-05 16:11:48
|
*/
|
@Data
|
@TableName("weilan_mon")
|
public class WeilanMonEntity implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* $column.comments
|
*/
|
|
@ApiModelProperty(value = "key")
|
@TableId(value = "id", type = IdType.AUTO)
|
private Integer id;
|
/**
|
* 围栏id
|
*/
|
private String fId;
|
/**
|
* 摄像头id
|
*/
|
private String gId;
|
/**
|
* $column.comments
|
*/
|
private Integer state;
|
|
@ApiModelProperty(value = "更新时间")
|
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
@TableField(fill = FieldFill.INSERT_UPDATE)//
|
private Date cDate;
|
}
|