package org.jeecg.modules.spare.entity;
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModelProperty;
|
import lombok.Data;
|
import org.jeecg.common.aspect.annotation.Dict;
|
import org.jeecg.common.constant.CommonConstant;
|
import org.jeecg.common.system.base.entity.JeecgEntity;
|
import org.jeecgframework.poi.excel.annotation.Excel;
|
|
import java.io.Serializable;
|
import java.util.List;
|
|
/**
|
* @Description: 备件领用申请单
|
* @Author: jeecg-boot
|
* @Date: 2023-06-26
|
* @Version: V1.0
|
*/
|
@ApiModel(value = "mom_eam_spare_part_receive对象", description = "备件领用申请单")
|
@Data
|
@TableName("mom_eam_spare_part_receive")
|
public class SparePartReceive extends JeecgEntity implements Serializable {
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 申请单编码
|
*/
|
@Excel(name = "申请单编码", width = 15)
|
@ApiModelProperty(value = "申请单编码")
|
private String num;
|
/**
|
* 仓库id
|
*/
|
@Excel(name = "仓库id", width = 15)
|
@ApiModelProperty(value = "仓库id")
|
@Dict(dictTable = "mom_base_warehouse", dicText = "name", dicCode = "id")
|
private java.lang.String warehouseId;
|
/**
|
* 领用部门ID
|
*/
|
@Excel(name = "领用部门ID", width = 15, dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
|
@Dict(dictTable = "sys_depart", dicText = "depart_name", dicCode = "id")
|
@ApiModelProperty(value = "领用部门ID")
|
private java.lang.String departId;
|
/**
|
* 领用人id
|
*/
|
@Excel(name = "领用人id", width = 15, dictTable = "sys_user", dicText = "realname", dicCode = "username")
|
@Dict(dictTable = "sys_user", dicCode = "id", dicText = "realname")
|
@ApiModelProperty(value = "领用人id")
|
private String userId;
|
/**
|
* 状态(0已创建,1已提交,2已通过,3已驳回)
|
*/
|
@Excel(name = "状态(0已创建,1已提交,2已通过,3已驳回)", width = 15)
|
@ApiModelProperty(value = "状态(0已创建,1已提交,2已通过,3已驳回)")
|
@Dict(dicCode = "purchase_storage_status")
|
private String status;
|
|
/**
|
* 删除状态(0-正常,1-已删除)
|
*/
|
@Excel(name = "删除状态(0-正常,1-已删除)", width = 15)
|
@ApiModelProperty(value = "删除状态(0-正常,1-已删除)")
|
private Integer delFlag = CommonConstant.DEL_FLAG_0;
|
|
/**
|
* 审批意见
|
*/
|
@Excel(name = "审批意见", width = 15)
|
@ApiModelProperty(value = "审批意见")
|
private String approvalOpinions;
|
|
|
/**
|
* 备注
|
*/
|
@Excel(name = "备注", width = 15)
|
@ApiModelProperty(value = "备注")
|
private String remark;
|
|
|
|
@TableField(exist = false)
|
List<SparePartReceiveDeatil> sparePartReceiveDeatilList;
|
}
|