package org.jeecg.modules.spare.entity;
|
|
import java.io.Serializable;
|
import java.io.UnsupportedEncodingException;
|
import java.util.Date;
|
import java.util.List;
|
|
import com.baomidou.mybatisplus.annotation.*;
|
import lombok.Data;
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
import org.jeecg.common.constant.CommonConstant;
|
import org.jeecg.common.system.base.entity.JeecgEntity;
|
import org.jeecg.modules.eam.entity.RepairOrderDetail;
|
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;
|
|
/**
|
* @Description: 备件报废
|
* @Author: jeecg-boot
|
* @Date: 2023-06-21
|
* @Version: V1.0
|
*/
|
@ApiModel(value = "mom_eam_spare_part_scrap对象", description = "备件报废")
|
@Data
|
@TableName("mom_eam_spare_part_scrap")
|
public class SparePartScrap extends JeecgEntity implements Serializable {
|
|
/**
|
* 单据号
|
*/
|
@Excel(name = "单据号", width = 15)
|
@ApiModelProperty(value = "单据号")
|
private String num;
|
|
/**
|
* 审批状态
|
*/
|
@Dict(dicCode = "audit_status")
|
@Excel(name = "审批状态", width = 15)
|
@ApiModelProperty(value = "审批状态")
|
private String auditStatus;
|
|
/**
|
* 仓库id
|
*/
|
@Excel(name = "仓库id", width = 15)
|
@ApiModelProperty(value = "仓库id")
|
private String warehouseId;
|
/**
|
* 领用部门ID
|
*/
|
@Excel(name = "领用部门ID", width = 15)
|
@ApiModelProperty(value = "领用部门ID")
|
|
@Dict(dictTable = "sys_depart", dicCode = "id", dicText = "depart_name")
|
private String departId;
|
/**
|
* 领用人员ID
|
*/
|
@Excel(name = "领用人员ID", width = 15)
|
@ApiModelProperty(value = "领用人员ID")
|
@Dict(dictTable = "sys_user", dicCode = "id", dicText = "realname")
|
private String userId;
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注", width = 15)
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
|
|
/**
|
* 审批意见
|
*/
|
@Excel(name = "审批意见", width = 15)
|
@ApiModelProperty(value = "审批意见")
|
private String approvalOpinions;
|
|
|
/**
|
* 租户id
|
*/
|
@Excel(name = "租户id", width = 15)
|
@ApiModelProperty(value = "租户id")
|
private String tenantId;
|
|
/**
|
* 删除状态(0-正常,1-已删除)
|
*/
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
@ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
|
private Integer delFlag = CommonConstant.DEL_FLAG_0;
|
|
/**
|
* 状态 0 禁用 1 启用
|
*/
|
@Excel(name = "状态 0 禁用 1 启用", width = 15)
|
@ApiModelProperty(value = "状态 0 禁用 1 启用")
|
private String status = CommonConstant.STATUS_1;
|
|
/**
|
* 报废单来源
|
*/
|
@Excel(name = "报废单来源", width = 15)
|
@ApiModelProperty(value = "报废单来源")
|
private String sourceType;
|
/**
|
* 关联单据id
|
*/
|
@Excel(name = "关联单据id", width = 15)
|
@ApiModelProperty(value = "关联单据id")
|
private String relatedOrderId;
|
/**
|
* 企业id
|
*/
|
@Excel(name = "企业id", width = 15)
|
@ApiModelProperty(value = "企业id")
|
private String enterpriseId;
|
/**
|
* 备用字段1
|
*/
|
@Excel(name = "备用字段1", width = 15)
|
@ApiModelProperty(value = "备用字段1")
|
private String uda1;
|
/**
|
* 备用字段2
|
*/
|
@Excel(name = "备用字段2", width = 15)
|
@ApiModelProperty(value = "备用字段2")
|
private String uda2;
|
/**
|
* 备用字段3
|
*/
|
@Excel(name = "备用字段3", width = 15)
|
@ApiModelProperty(value = "备用字段3")
|
private String uda3;
|
/**
|
* 备用字段4
|
*/
|
@Excel(name = "备用字段4", width = 15)
|
@ApiModelProperty(value = "备用字段4")
|
private String uda4;
|
/**
|
* 备用字段5
|
*/
|
@Excel(name = "备用字段5", width = 15)
|
@ApiModelProperty(value = "备用字段5")
|
private String uda5;
|
|
@TableField(exist = false)
|
List<SparesScrapDetail> sparesScrapDetailList;
|
}
|