package com.bonus.material.lease.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;

/**
 * 项目领退对象 lease_agreement_record
 * 
 * @author xsheng
 * @date 2024-10-16
 */


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

    /** ID */
    private Long id;

    /** 协议ID */
    @Excel(name = "协议ID")
    @ApiModelProperty(value = "协议ID")
    private Long agreementId;

    /** 机具规格ID */
    @Excel(name = "机具规格ID")
    @ApiModelProperty(value = "机具规格ID")
    private Long typeId;

    /** 机具ID */
    @Excel(name = "机具ID")
    @ApiModelProperty(value = "机具ID")
    private Long maId;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private Long num;

    /** 状态 */
    @Excel(name = "状态")
    @ApiModelProperty(value = "状态")
    private String status;

    /** 领料时间 */
    @ApiModelProperty(value = "领料时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "领料时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date outTime;

    /** 领料任务 */
    @Excel(name = "领料任务")
    @ApiModelProperty(value = "领料任务")
    private Long pickId;

    /** 退料时间 */
    @ApiModelProperty(value = "退料时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "退料时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date backTime;

    /** 退料任务 */
    @Excel(name = "退料任务")
    @ApiModelProperty(value = "退料任务")
    private Long backId;

    /** 是否结算 */
    @Excel(name = "是否结算")
    @ApiModelProperty(value = "是否结算")
    private String isSlt;

    /** 结算时间 */
    @ApiModelProperty(value = "结算时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结算时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sltTime;

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


}
