package com.mvc.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

public class TStkinModel {

    private Integer id;

    private String billCode;

    private Integer dayBillyIndex;

    private Integer stkinNum;

    private String stkroomId;

    private String stkroomName;

    @DateTimeFormat(pattern = "yyyyMMddHHmmss")
    @JsonFormat(pattern = "yyyyMMddHHmmss", timezone="GMT+8")
    private Date stkinTime;

    private String stkinMan;

    private String stkinSignImg;

    private String stkinMemo;

    private String invaildFlag;

    @DateTimeFormat(pattern = "yyyyMMddHHmmss")
    @JsonFormat(pattern = "yyyyMMddHHmmss", timezone="GMT+8")
    private Date invalidTime;

    private String invalidMan;

    private String invalidBecause;

    private String taskBatchId;
    private String taskBatchStatusName;
    private TaskBatchRemoteModel taskBatchRemoteModel;//批量任务对象

    private String devsns;//入库设备sn字符串集合

    private Integer page;//页码

    private Integer rows;//每页条数

    private String startTime;//开始时间

    private String endTime;//结束时间

    private List<TStkinDetailModel> detailModels;//设备明细

    private Integer dataType;//提交的数据类型(0新增,1修改,2添加设备)

    private String finishedFlag;

    private Date finishedTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBillCode() {
        return billCode;
    }

    public void setBillCode(String billCode) {
        this.billCode = billCode;
    }

    public Integer getDayBillyIndex() {
        return dayBillyIndex;
    }

    public void setDayBillyIndex(Integer dayBillyIndex) {
        this.dayBillyIndex = dayBillyIndex;
    }

    public Integer getStkinNum() {
        return stkinNum;
    }

    public void setStkinNum(Integer stkinNum) {
        this.stkinNum = stkinNum;
    }

    public String getStkroomId() {
        return stkroomId;
    }

    public void setStkroomId(String stkroomId) {
        this.stkroomId = stkroomId;
    }

    public String getStkroomName() {
        return stkroomName;
    }

    public void setStkroomName(String stkroomName) {
        this.stkroomName = stkroomName;
    }

    public Date getStkinTime() {
        return stkinTime;
    }

    public void setStkinTime(Date stkinTime) {
        this.stkinTime = stkinTime;
    }

    public String getStkinMan() {
        return stkinMan;
    }

    public void setStkinMan(String stkinMan) {
        this.stkinMan = stkinMan;
    }

    public String getStkinSignImg() {
        return stkinSignImg;
    }

    public void setStkinSignImg(String stkinSignImg) {
        this.stkinSignImg = stkinSignImg;
    }

    public String getStkinMemo() {
        return stkinMemo;
    }

    public void setStkinMemo(String stkinMemo) {
        this.stkinMemo = stkinMemo;
    }

    public String getInvaildFlag() {
        return invaildFlag;
    }

    public String getDevsns() {
        return devsns;
    }

    public void setDevsns(String devsns) {
        this.devsns = devsns;
    }

    public void setInvaildFlag(String invaildFlag) {
        this.invaildFlag = invaildFlag;
    }

    public Date getInvalidTime() {
        return invalidTime;
    }

    public void setInvalidTime(Date invalidTime) {
        this.invalidTime = invalidTime;
    }

    public String getInvalidMan() {
        return invalidMan;
    }

    public void setInvalidMan(String invalidMan) {
        this.invalidMan = invalidMan;
    }

    public String getInvalidBecause() {
        return invalidBecause;
    }

    public void setInvalidBecause(String invalidBecause) {
        this.invalidBecause = invalidBecause;
    }

    public String getTaskBatchId() {
        return taskBatchId;
    }

    public void setTaskBatchId(String taskBatchId) {
        this.taskBatchId = taskBatchId == null ? null : taskBatchId.trim();
    }

    public String getTaskBatchStatusName() {
        return taskBatchStatusName;
    }

    public void setTaskBatchStatusName(String taskBatchStatusName) {
        this.taskBatchStatusName = taskBatchStatusName;
    }

    public TaskBatchRemoteModel getTaskBatchRemoteModel() {
        return taskBatchRemoteModel;
    }

    public void setTaskBatchRemoteModel(TaskBatchRemoteModel taskBatchRemoteModel) {
        this.taskBatchRemoteModel = taskBatchRemoteModel;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getRows() {
        return rows;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public List<TStkinDetailModel> getDetailModels() {
        return detailModels;
    }

    public void setDetailModels(List<TStkinDetailModel> detailModels) {
        this.detailModels = detailModels;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public String getFinishedFlag() {
        return finishedFlag;
    }

    public void setFinishedFlag(String finishedFlag) {
        this.finishedFlag = finishedFlag == null ? null : finishedFlag.trim();
    }

    public Date getFinishedTime() {
        return finishedTime;
    }

    public void setFinishedTime(Date finishedTime) {
        this.finishedTime = finishedTime;
    }
}
