package org.jeecg.modules.mdcJc.entity; 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 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; import java.io.Serializable; import java.util.Date; /** * @author clown * * @date 2024/7/19 */ @Data @EqualsAndHashCode(callSuper = false) @Accessors(chain = true) @TableName("mdcJc_OnLineQueue") @ApiModel(value = "自动线上线") public class MdcOnLineQueue implements Serializable { private static final long serialVersionUID = -4733120585358211415L; @TableId(type = IdType.ASSIGN_ID) private String mdc_id; @TableField(value = "id") private Integer id; @TableField(value = "devCode") private String devCode; @TableField(value = "partBarCode") private String partBarCode; @TableField(value = "productNo") private String productNo; @TableField(value = "productName") private String productName; @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @TableField(value = "scanTime") private Date scanTime; @TableField(value = "remark") private Integer remark; /** * 创建日期 */ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss") @ApiModelProperty(value = "创建日期") @TableField(value = "createTime") private Date createTime; }