package com.bonus.material.ma.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.bonus.common.core.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import com.bonus.common.core.web.domain.BaseEntity;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

/**
 * 机具类型历史库存对象 ma_type_num_his
 * 
 * @author xsheng
 * @date 2024-09-27
 */


@Data
@ToString
public class TypeNumHis extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型ID */
    private Long typeId;

    /** 历史库存 */
    @Excel(name = "历史库存", align = HorizontalAlignment.RIGHT)
    @ApiModelProperty(value = "历史库存")
    private Long storageNum;

    /** 存入日期 */
    @ApiModelProperty(value = "存入日期")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "存入日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date saveTime;

    /** 帐号状态（0正常 1停用） */
    @Excel(name = "帐号状态", readConverterExp = "0=正常,1=停用")
    private String status;

    /** 数据所属组织 */
    @Excel(name = "数据所属组织")
    @ApiModelProperty(value = "数据所属组织")
    private String companyId;


}
