package cn.estsh.i3plus.ext.mes.pojo.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiParam;
import lombok.Data;

import javax.persistence.Column;
import java.io.Serializable;

/**
 * @author xiangming.liao
 * @version 1.0
 * @date 2021/03/12
 **/
@Data
@ApiModel("外观防划伤工位model")
public class MesExteriorScratchProofCellModel implements Serializable {

    private static final long serialVersionUID = 6076633830916308052L;

    @ApiParam("id")
    private Long id;

    @Column(name = "WORK_CENTER_CODE")
    @ApiParam("生产线代码")
    private String workCenterCode;

    @Column(name = "WORK_CELL_CODE")
    @ApiParam(value = "工位代码")
    public String workCellCode;

    @ApiParam("文件ID")
    private Long fileId;

    @ApiParam("文件URL")
    private String fileUrl;

    @ApiParam("文件原名")
    private String fileOriginName;

    @ApiParam("上传时间")
    private String uploadDatetime;

    @ApiParam("组织代码")
    public String organizeCode;

    @ApiParam("创建用户")
    public String createUser;

    @ApiParam("创建日期")
    public String createDatetime;

    @ApiParam("修改人")
    public String modifyUser;

    @ApiParam("修改日期")
    public String modifyDatetime;

    public MesExteriorScratchProofCellModel() {
    }

    public MesExteriorScratchProofCellModel(Long id, String workCenterCode, String workCellCode, Long fileId, String fileOriginName, String uploadDatetime, String organizeCode, String createUser, String createDatetime, String modifyUser, String modifyDatetime, String fileUrl) {
        this.id = id;
        this.workCenterCode = workCenterCode;
        this.workCellCode = workCellCode;
        this.fileId = fileId;
        this.fileOriginName = fileOriginName;
        this.uploadDatetime = uploadDatetime;
        this.organizeCode = organizeCode;
        this.createUser = createUser;
        this.createDatetime = createDatetime;
        this.modifyUser = modifyUser;
        this.modifyDatetime = modifyDatetime;
        this.fileUrl = fileUrl;
    }
}
