package org.jeecg.modules.tms.entity; import java.io.Serializable; import java.io.UnsupportedEncodingException; import java.util.Date; import java.math.BigDecimal; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableLogic; import lombok.Data; import com.fasterxml.jackson.annotation.JsonFormat; import org.jeecg.common.constant.CommonConstant; import org.springframework.format.annotation.DateTimeFormat; import org.jeecgframework.poi.excel.annotation.Excel; import org.jeecg.common.aspect.annotation.Dict; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.EqualsAndHashCode; import lombok.experimental.Accessors; /** * @Description: 工装履历 * @Author: jeecg-boot * @Date: 2025-07-28 * @Version: V1.0 */ @Data @TableName("tms_tool_history") @Accessors(chain = true) @EqualsAndHashCode(callSuper = false) @ApiModel(value="tms_tool_history对象", description="工装履历") public class TmsToolHistory implements Serializable { private static final long serialVersionUID = 1L; /**主键*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /**创建人*/ @ApiModelProperty(value = "创建人") private String createBy; /**创建时间*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "创建时间") private Date createTime; /**更新人*/ @ApiModelProperty(value = "更新人") private String updateBy; /**更新时间*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "更新时间") private Date updateTime; /**删除标记*/ @Excel(name = "删除标记", width = 15) @ApiModelProperty(value = "删除标记") @TableLogic private Integer delFlag = CommonConstant.DEL_FLAG_0; /**库存ID*/ @Excel(name = "库存ID", width = 15) @ApiModelProperty(value = "库存ID") private String inventoryId; /**工装条码*/ @Excel(name = "工装条码", width = 15) @ApiModelProperty(value = "工装条码") private String toolBarcode; /**操作人*/ @Excel(name = "操作人", width = 15) @ApiModelProperty(value = "操作人") private String operator; /**操作时间*/ @Excel(name = "操作时间", width = 15, format = "yyyy-MM-dd") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd") @DateTimeFormat(pattern="yyyy-MM-dd") @ApiModelProperty(value = "操作时间") private Date operateTime; /**操作类型*/ @Excel(name = "操作类型", width = 15) @ApiModelProperty(value = "操作类型") private String operateType; /**业务主表*/ @Excel(name = "业务主表", width = 15) @ApiModelProperty(value = "业务主表") private String businessTable; /**业务id*/ @Excel(name = "业务id", width = 15) @ApiModelProperty(value = "业务id") private String businessId; }