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.*;
|
import lombok.Data;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
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: tms_tool_ledger_detail
|
* @Author: jeecg-boot
|
* @Date: 2025-05-16
|
* @Version: V1.0
|
*/
|
@Data
|
@TableName("tms_tool_ledger_detail")
|
@Accessors(chain = true)
|
@EqualsAndHashCode(callSuper = false)
|
@ApiModel(value="tms_tool_ledger_detail对象", description="tms_tool_ledger_detail")
|
public class ToolLedgerDetail implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**主键id*/
|
@TableId(type = IdType.ASSIGN_ID)
|
@ApiModelProperty(value = "主键id")
|
private String id;
|
/**工具编码(关联字段)*/
|
@Excel(name = "工具编码", width = 15)
|
@ApiModelProperty(value = "工具编码(关联字段,存tms_base_tools表主键id)")
|
private String toolCode;
|
/**工具编码*/
|
@ApiModelProperty(value = "工具编码(tms_base_tools表tool_code字段)")
|
@TableField(exist = false)
|
private String toolNum;
|
/**工具编号*/
|
@Excel(name = "工具编号", width = 15)
|
@ApiModelProperty(value = "工具编号")
|
private String toolId;
|
/**工具中文名称*/
|
@TableField(exist = false)
|
@ApiModelProperty(value = "工具中文名称")
|
private String toolName;
|
/**数量*/
|
@Excel(name = "数量", width = 15)
|
@ApiModelProperty(value = "数量")
|
private BigDecimal quantity;
|
/**状态*/
|
@Excel(name = "状态", width = 15)
|
@ApiModelProperty(value = "状态")
|
private String status;
|
/**库区/库号*/
|
@Excel(name = "库区/库号", width = 15)
|
@ApiModelProperty(value = "库区/库号")
|
private String warehouseId;
|
/**仓库名称*/
|
@TableField(exist = false)
|
@ApiModelProperty(value = "仓库名称")
|
private String warehouseName;
|
/**库位号*/
|
@Excel(name = "库位号", width = 15)
|
@ApiModelProperty(value = "库位号")
|
private String positionCode;
|
/**租户号*/
|
@Excel(name = "租户号", width = 15)
|
@ApiModelProperty(value = "租户号")
|
private String tenantId;
|
/**创建人*/
|
@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;
|
|
@TableField(exist = false)
|
@ApiModelProperty(value = "型号/图号")
|
private String toolModel;
|
|
/**额定寿命*/
|
@Excel(name = "额定寿命", width = 15)
|
@ApiModelProperty(value = "额定寿命")
|
private BigDecimal ratedLife;
|
|
/**使用寿命*/
|
@Excel(name = "使用寿命", width = 15)
|
@ApiModelProperty(value = "使用寿命")
|
private BigDecimal useLife;
|
|
/**剩余寿命*/
|
@Excel(name = "剩余寿命", width = 15)
|
@ApiModelProperty(value = "剩余寿命")
|
private BigDecimal remainingPercentage;
|
}
|