package org.jeecg.modules.tms.entity; import java.io.Serializable; 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 org.jeecg.common.aspect.annotation.Dict; import lombok.Data; import com.fasterxml.jackson.annotation.JsonFormat; import org.springframework.format.annotation.DateTimeFormat; import org.jeecgframework.poi.excel.annotation.Excel; import java.util.Date; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import java.io.UnsupportedEncodingException; /** * @Description: 出库申请单明细 * @Author: jeecg-boot * @Date: 2025-05-16 * @Version: V1.0 */ @Data @TableName("tms_outbound_detail") @ApiModel(value="tms_outbound_detail对象", description="出库申请单明细") public class OutboundDetail implements Serializable { private static final long serialVersionUID = 1L; /**主键*/ @TableId(type = IdType.ASSIGN_ID) @ApiModelProperty(value = "主键") private String id; /**出库单号*/ @ApiModelProperty(value = "出库单号") private String outStorehouseId; /**刀具编码*/ @Excel(name = "刀具编码", width = 15) @ApiModelProperty(value = "刀具编码(tms_base_tool表主键id)") private String toolCode; /**刀具编号*/ @Excel(name = "刀具编号", width = 15) @ApiModelProperty(value = "刀具编号(刀具唯一编码,管到把的属性)") private String toolId; /**申请出库数量*/ @Excel(name = "申请出库数量", width = 15) @ApiModelProperty(value = "申请出库数量") private java.math.BigDecimal outboundQuantity; /**实际出库数量*/ @Excel(name = "实际出库数量", width = 15) @ApiModelProperty(value = "实际出库数量") private java.math.BigDecimal outActualCount; /**出库时间*/ @Excel(name = "出库时间", width = 15, format = "yyyy-MM-dd HH:mm") @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm") @ApiModelProperty(value = "出库时间") private Date outboundTime; /**仓库*/ @Excel(name = "仓库", width = 15) @ApiModelProperty(value = "仓库") @Dict(dictTable = "tms_warehouse", dicCode = "id", dicText = "warehouse_name") private String storageLocation; /**出库库位*/ @Excel(name = "出库库位", width = 15) @ApiModelProperty(value = "出库库位") private String outboundLocation; /**出库状态;1.未出库;2.部分出库;3.出库完成*/ @Excel(name = "出库状态;1.未出库;2.部分出库;3.出库完成", width = 15) @ApiModelProperty(value = "出库状态;1.未出库;2.部分出库;3.出库完成") @Dict(dicCode = "out_storehouse_status") private String status; /**租户号*/ @Excel(name = "租户号", width = 15) @ApiModelProperty(value = "租户号") private String tenantId; /**操作员*/ @ApiModelProperty(value = "操作员") private String createBy; /**创建时间*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm") @ApiModelProperty(value = "创建时间") private Date createTime; /**更新人*/ @ApiModelProperty(value = "更新人") private String updateBy; /**更新时间*/ @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm") @DateTimeFormat(pattern="yyyy-MM-dd HH:mm") @ApiModelProperty(value = "更新时间") private Date updateTime; }