package com.yuanchu.mom.pojo;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.*;
|
import lombok.experimental.Accessors;
|
import org.springframework.format.annotation.DateTimeFormat;
|
|
import java.util.Date;
|
import java.io.Serializable;
|
|
/**
|
* 生产工艺维护表(TechniqueModel)表实体类
|
*
|
* @author zss
|
* @since 2023-08-29 09:26:37
|
*/
|
@Data
|
@Accessors(chain = true)
|
@AllArgsConstructor
|
@NoArgsConstructor
|
@EqualsAndHashCode(callSuper = false)
|
@Builder
|
@TableName("technique_model")
|
public class TechniqueModel implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* id
|
**/
|
@TableId(type = IdType.AUTO)
|
private Integer id;
|
|
/**
|
* 关联 工艺id
|
**/
|
private Integer techTemId;
|
|
/**
|
* 关联 设备id
|
**/
|
private Integer deviceId;
|
|
/**
|
* 关联 项目(技术指标)id
|
**/
|
private Integer technicalModelId;
|
|
@ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
|
private Integer state;
|
|
@TableField(fill = FieldFill.INSERT)
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date createTime;
|
|
@TableField(fill = FieldFill.INSERT_UPDATE)
|
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
|
private Date updateTime;
|
}
|