package com.shinsoft.sto.model.main;

import com.baomidou.mybatisplus.annotation.*;
import com.shinsoft.generator.model.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.Date;

@Getter
@Setter
@Accessors(chain = true)
@TableName("T_MAIN_MATERIAL")
@ApiModel(value = "物料", description = "物料基本信息表")
public class Material extends BaseModel {

    @TableId(type = IdType.ASSIGN_UUID)
    @ApiModelProperty("主键ID")
    private String id;

    @ApiModelProperty("流程实例ID")
    private String processInstanceId;

    @ApiModelProperty("流程实例状态")
    private String processInstanceStatus;

    @ApiModelProperty("添加人ID")
    private String addId;

    @ApiModelProperty("添加人编码")
    private String addCode;

    @ApiModelProperty("添加人名称")
    private String addName;

    @ApiModelProperty("添加部门ID")
    private String addDeptId;

    @ApiModelProperty("添加部门编码")
    private String addDeptCode;

    @ApiModelProperty("添加部门名称")
    private String addDeptName;

    @ApiModelProperty("添加时间")
    private Date addTime;

    @ApiModelProperty("修改人ID")
    private String modifyId;

    @ApiModelProperty("修改人编码")
    private String modifyCode;

    @ApiModelProperty("修改人名称")
    private String modifyName;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("作废人ID")
    private String cancelId;

    @ApiModelProperty("作废人编码")
    private String cancelCode;

    @ApiModelProperty("作废人名称")
    private String cancelName;

    @ApiModelProperty("作废时间")
    private Date cancelTime;

    @ApiModelProperty("作废标记")
    private String cancelFlag;

    @ApiModelProperty("所属组织ID")
    private String belongId;

    @ApiModelProperty("物料名称")
    private String materialName;

    @ApiModelProperty("物料编码")
    private String materialCode;

    @ApiModelProperty("物料类别")
    private String materialStandard;

    @ApiModelProperty("物料尺寸")
    private String materialModel;

    @ApiModelProperty("物料属性1")
    private String materialAttr1;

    @ApiModelProperty("物料属性2")
    private String materialAttr2;

    @ApiModelProperty("物料属性3")
    private String materialAttr3;

    @ApiModelProperty("物料属性4")
    private String materialAttr4;

    @ApiModelProperty("物料属性5")
    private String materialAttr5;
}