package org.springblade.modules.traceability.entity;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import lombok.Data;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.io.Serializable;
|
import java.util.Date;
|
|
/**
|
* 溯源扫描记录表实体类
|
* @since 2022-07-11
|
* @author zhongrj
|
*/
|
@Data
|
@TableName("sys_sweep_record")
|
public class SweepRecord implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 主键id
|
*/
|
@TableId(value = "id",type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 溯源码编号
|
*/
|
private String code;
|
|
/**
|
* 创建时间
|
*/
|
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
private Date createTime;
|
|
|
/**
|
* 单位id
|
*/
|
private String deptId;
|
|
}
|