Inventory.java 3.84 KB
package com.ruoyi.service.domain;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;


/**
 * 库房盘点
 * 
 * @author ym
 */
public class Inventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 档案库主键 */
    private Long depotId;

    /** 档案库名称 */
    private String depotName;

    /** 档案级别 */
    @Excel(name = "档案级别", cellType = Excel.ColumnType.NUMERIC)
    private int archivesLevel;

    /** 条件 */
    @Excel(name = "条件", cellType = Excel.ColumnType.STRING)
    private String factor;

    /** 任务描述 */
    @Excel(name = "任务描述", cellType = Excel.ColumnType.STRING)
    private String mark;

    /** 系统盘点数 */
    @Excel(name = "系统盘点数", cellType = Excel.ColumnType.NUMERIC)
    private String sysCount;

    /** 人工盘点数 */
    @Excel(name = "人工盘点数", cellType = Excel.ColumnType.NUMERIC)
    private String count;

    /** 差异描述 */
    @Excel(name = "差异描述", cellType = Excel.ColumnType.STRING)
    private String remark;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    private String selectType1;

    private String selectType2;

    private String selectType3;

    public Long getId() {
        return id;
    }

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

    public Long getDepotId() {
        return depotId;
    }

    public void setDepotId(Long depotId) {
        this.depotId = depotId;
    }

    public String getDepotName() {
        return depotName;
    }

    public void setDepotName(String depotName) {
        this.depotName = depotName;
    }

    public int getArchivesLevel() {
        return archivesLevel;
    }

    public void setArchivesLevel(int archivesLevel) {
        this.archivesLevel = archivesLevel;
    }

    public String getFactor() {
        return factor;
    }

    public void setFactor(String factor) {
        if (factor!=null&&factor.split("&").length==3){
            this.selectType1=factor.split("&")[0];
            this.selectType2=factor.split("&")[1];
            this.selectType3=factor.split("&")[2];
        }
        this.factor = factor;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public String getSysCount() {
        return sysCount;
    }

    public void setSysCount(String sysCount) {
        this.sysCount = sysCount;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public Date getCreateTime() {
        return createTime;
    }

    @Override
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public Date getUpdateTime() {
        return updateTime;
    }

    @Override
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getSelectType1() {
        return selectType1;
    }

    public void setSelectType1(String selectType1) {
        this.selectType1 = selectType1;
    }

    public String getSelectType2() {
        return selectType2;
    }

    public void setSelectType2(String selectType2) {
        this.selectType2 = selectType2;
    }

    public String getSelectType3() {
        return selectType3;
    }

    public void setSelectType3(String selectType3) {
        this.selectType3 = selectType3;
    }
}