84 lines
2.3 KiB
Java
84 lines
2.3 KiB
Java
|
|
package com.gunshi.project.xyt.model;
|
||
|
|
|
||
|
|
|
||
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
||
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||
|
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||
|
|
import com.gunshi.core.dateformat.DateFormatString;
|
||
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
||
|
|
import jakarta.validation.constraints.NotBlank;
|
||
|
|
import jakarta.validation.constraints.Size;
|
||
|
|
import lombok.Data;
|
||
|
|
|
||
|
|
import java.io.Serializable;
|
||
|
|
import java.util.Date;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* 描述: 图像历史表
|
||
|
|
* author: xusan
|
||
|
|
* date: 2024-07-08 17:34:26
|
||
|
|
*/
|
||
|
|
@Schema(description="图像历史表")
|
||
|
|
@Data
|
||
|
|
@TableName("public.st_img_r")
|
||
|
|
public class StImgR implements Serializable {
|
||
|
|
|
||
|
|
|
||
|
|
private static final long serialVersionUID = 1L;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* stcd
|
||
|
|
*/
|
||
|
|
@TableId(value="stcd", type= IdType.AUTO)
|
||
|
|
@Schema(description="stcd")
|
||
|
|
@Size(max = 20,message = "stcd最大长度要小于 20")
|
||
|
|
@NotBlank(message = "stcd不能为空")
|
||
|
|
private String stcd;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* tm
|
||
|
|
*/
|
||
|
|
@TableId(value="tm", type= IdType.AUTO)
|
||
|
|
@Schema(description="tm")
|
||
|
|
@Size(max = 0,message = "tm最大长度要小于 0")
|
||
|
|
@NotBlank(message = "tm不能为空")
|
||
|
|
@JsonFormat(pattern = DateFormatString.YYYY_MM_DD_HH_MM_SS, timezone = "GMT+8")
|
||
|
|
private Date tm;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* img_path
|
||
|
|
*/
|
||
|
|
@TableField(value="img_path")
|
||
|
|
@Schema(description="img_path")
|
||
|
|
@Size(max = 256,message = "img_path最大长度要小于 256")
|
||
|
|
@NotBlank(message = "img_path不能为空")
|
||
|
|
private String imgPath;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* chid
|
||
|
|
*/
|
||
|
|
@TableField(value="chid")
|
||
|
|
@Schema(description="chid")
|
||
|
|
@Size(max = 10,message = "chid最大长度要小于 10")
|
||
|
|
@NotBlank(message = "chid不能为空")
|
||
|
|
private String chid;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* source
|
||
|
|
*/
|
||
|
|
@TableField(value="source")
|
||
|
|
@Schema(description="source")
|
||
|
|
@Size(max = 50,message = "source最大长度要小于 50")
|
||
|
|
private String source;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* mtmcd
|
||
|
|
*/
|
||
|
|
@TableField(value="mtmcd")
|
||
|
|
@Schema(description="mtmcd")
|
||
|
|
@Size(max = 20,message = "mtmcd最大长度要小于 20")
|
||
|
|
private String mtmcd;
|
||
|
|
|
||
|
|
}
|