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

/**
 * 推送接收明细对象 push_data_receive_detail
 * 
 * @author xsheng
 * @date 2024-10-16
 */


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

    /** 主键ID */
    private Long id;

    /** 推送ID */
    @Excel(name = "推送ID")
    @ApiModelProperty(value = "推送ID")
    private Long receiveId;

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

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

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

    /** 租赁价格 */
    @Excel(name = "租赁价格", align = HorizontalAlignment.RIGHT)
    @ApiModelProperty(value = "租赁价格")
    private BigDecimal rentPrice;

    /** 所属单位 */
    @Excel(name = "所属单位")
    @ApiModelProperty(value = "所属单位")
    private Long unitId;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    @ApiModelProperty(value = "生产厂家")
    private String supplier;

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

    /** 是否新装备（0 是  1否） */
    @Excel(name = "是否新装备", readConverterExp = "0=,是=,1=否")
    private Long isNew;

    /** 检验证编号 */
    @Excel(name = "检验证编号")
    @ApiModelProperty(value = "检验证编号")
    private String checkCode;

    /** 检验单位 */
    @Excel(name = "检验单位")
    @ApiModelProperty(value = "检验单位")
    private String checkUnit;

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

    /** 下次检验时间 */
    @ApiModelProperty(value = "下次检验时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "下次检验时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date nextCheckDate;

    /** 机手姓名 */
    @Excel(name = "机手姓名")
    @ApiModelProperty(value = "机手姓名")
    private String maUserName;

    /** 状态（0 未接收  1已接收） */
    @Excel(name = "状态", readConverterExp = "0=,未=接收,1=已接收")
    private Long status;


}
