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;
import org.apache.poi.ss.usermodel.HorizontalAlignment;

/**
 * 结算协议详情对象 slt_agreement_details
 * 
 * @author xsheng
 * @date 2024-10-16
 */


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

    /** ID */
    private Long id;

    /** 申请id */
    @Excel(name = "申请id")
    @ApiModelProperty(value = "申请id")
    private Long applyId;

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

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

    /** 费用类型：1租赁2丢失3维修4报废 */
    @Excel(name = "费用类型：1租赁2丢失3维修4报废")
    @ApiModelProperty(value = "费用类型：1租赁2丢失3维修4报废")
    private String sltType;

    /** 数量 */
    @Excel(name = "数量", align = HorizontalAlignment.RIGHT)
    @ApiModelProperty(value = "数量")
    private Long num;

    /** 开始时间 */
    @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;

    /** 单价 */
    @Excel(name = "单价", align = HorizontalAlignment.RIGHT)
    @ApiModelProperty(value = "单价")
    private BigDecimal price;

    /** 金额 */
    @Excel(name = "金额", align = HorizontalAlignment.RIGHT)
    @ApiModelProperty(value = "金额")
    private BigDecimal money;

    /** 是否收费：0不收费1收费 */
    @Excel(name = "是否收费：0不收费1收费")
    @ApiModelProperty(value = "是否收费：0不收费1收费")
    private String isCharge;


}
