package com.zd.chemical.domain;

import java.math.BigDecimal;
import com.zd.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
import com.zd.common.core.web.domain.BaseEntity;

/**
 * 化学品申购详情对象 act_hxpapply_detail
 *
 * @author zd
 * @date 2022-08-17
 */
@ApiModel("化学品申购详情")
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class ActHxpapplyDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /** 关联化学品申请表主键 */
    @Excel(name = "关联化学品申请表主键")
    @ApiModelProperty(value = "关联化学品申请表主键")
    private Long hxpapplyId;
    /** 化学品id */
    @Excel(name = "化学品id")
    @ApiModelProperty(value = "化学品id")
    private Long chemicalId;
    /** 化学品名称 */
    @Excel(name = "化学品名称")
    @Length(message = "化学品名称长度不能超过50")
    @ApiModelProperty(value = "化学品名称")
    private String chemicalName;
    /** 机柜id */
    @Excel(name = "机柜id")
    @ApiModelProperty(value = "机柜id")
    private Long cabinetId;
    /** 本次申购量 */
    @Excel(name = "本次申购量")
    @ApiModelProperty(value = "本次申购量")
    private BigDecimal applyNum;
    /** 本次申购剩余可存放量 */
    @Excel(name = "本次申购剩余可存放量")
    @ApiModelProperty(value = "本次申购剩余可存放量")
    private BigDecimal remainingStorage;
    /** 申购状态，1是勾选入库，0是未勾选 */
    @Excel(name = "申购状态，1是勾选入库，0是未勾选")
    @ApiModelProperty(value = "申购状态，1是勾选入库，0是未勾选")
    private Integer tickStatus;
}
