package com.bonus.material.settlement.domain;

import java.math.BigDecimal;
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;

/**
 * 结算信息对象 slt_agreement_info
 * 
 * @author xsheng
 * @date 2024-10-16
 */


@Data
@ToString
public class SltAgreementInfo 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;

    private Integer backNum;

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

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

    /** 0在用1退回 */
    @Excel(name = "0在用1退回")
    @ApiModelProperty(value = "0在用1退回")
    private String status;

    /** 领料id */
    @Excel(name = "领料id")
    @ApiModelProperty(value = "领料id")
    private Long leaseId;

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

    /** 租赁单价 */
    @Excel(name = "租赁单价")
    @ApiModelProperty(value = "租赁单价")
    private BigDecimal leasePrice;

    /** 原值 */
    @Excel(name = "原值")
    @ApiModelProperty(value = "原值")
    private BigDecimal buyPrice;

    /** 是否结算 */
    @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;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private Long companyId;

    /** 领用类型（0工程1长期） */
    @Excel(name = "领用类型", readConverterExp = "0=工程1长期")
    private String leaseType;

    /** 调整天数 */
    @Excel(name = "调整天数")
    @ApiModelProperty(value = "调整天数")
    private Long trimDay;


}
