zhangherong
2025-06-25 23855599412c4d61b38d78f0f3abd3430a48b5b1
lxzn-module-tms/src/main/java/org/jeecg/modules/tms/entity/ToolsLossBoundDetail.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,157 @@
package org.jeecg.modules.tms.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.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
 * @Description: æŸè€—单明细
 * @Author: jeecg-boot
 * @Date: 2025-05-21
 * @Version: V1.0
 */
@ApiModel(value = "tms_loss_bound_detail对象", description = "损耗单明细")
@Data
@TableName("tms_loss_bound_detail")
public class ToolsLossBoundDetail implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * ä¸»é”®
     */
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
    /**
     * å·¥å…·ç¼–码
     */
    @Excel(name = "toolCode", width = 15)
    @ApiModelProperty(value = "toolCode")
    private String toolCode;
    /**
     * å·¥å…·ç¼–号
     */
    @Excel(name = "toolId", width = 15)
    @ApiModelProperty(value = "toolId")
    private String toolId;
    /**
     * æŠ¥æŸåŽŸå› 
     */
    @Excel(name = "lossReason", width = 15)
    @ApiModelProperty(value = "lossReason")
    private String lossReason;
    /**
     * æŠ¥æŸæ•°é‡
     */
    @Excel(name = "lossNumber", width = 15)
    @ApiModelProperty(value = "lossNumber")
    private java.math.BigDecimal lossNumber;
    /**
     * å­˜å‚¨ä½ç½®ï¼ˆåº“位号)
     */
    @Excel(name = "goodsShelvesId", width = 15)
    @ApiModelProperty(value = "goodsShelvesId")
    private String goodsShelvesId;
    /**
     * å…¥åº“æ—¶é—´
     */
    @Excel(name = "inStoreDate", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "inStoreDate")
    private Date inStoreDate;
    /**
     * ç§Ÿæˆ·å·
     */
    @Excel(name = "tenantId", width = 15)
    @ApiModelProperty(value = "tenantId")
    private String tenantId;
    /**
     * åˆ›å»ºäºº
     */
    @Excel(name = "createBy", width = 15)
    @ApiModelProperty(value = "createBy")
    private String createBy;
    /**
     * åˆ›å»ºæ—¶é—´
     */
    @Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "createTime")
    private Date createTime;
    /**
     * æ›´æ–°äºº
     */
    @Excel(name = "updateBy", width = 15)
    @ApiModelProperty(value = "updateBy")
    private String updateBy;
    /**
     * æ›´æ–°æ—¶é—´
     */
    @Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "updateTime")
    private Date updateTime;
    /**
     * æŠ¥æŸå•号
     */
    @Excel(name = "lossBoundId", width = 15)
    @ApiModelProperty(value = "lossBoundId")
    private String lossBoundId;
    @Dict(dictTable = "tms_tools_classify" , dicText = "type_name", dicCode = "id")
    @TableField(exist = false)
    private String classifyId;
    @TableField(exist = false)
    private String paramaTableName;
    @TableField(exist = false)
    private String foreignLanguageName;
    @TableField(exist = false)
    private String chineseName;
    @TableField(exist = false)
    private String supplierId;
    @TableField(exist = false)
    private String storageLocation;
    @TableField(exist = false)
    private String toolMaterial;
    @TableField(exist = false)
    private String partMaterial;
    @TableField(exist = false)
    private String toolModel;
    /**
     * åº“位号
     */
    @TableField(exist = false)
    private String positionCode;
    @TableField(exist = false)
    @Dict(dicCode = "application_type")
    private String applicationType;
}