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

/**
 * 新购配件验收任务对象 purchase_part_info
 * 
 * @author xsheng
 * @date 2024-10-16
 */


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

    /** ID */
    private Long ID;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "任务ID")
    private Long taskId;

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

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

    /** 采购员 */
    @Excel(name = "采购员")
    @ApiModelProperty(value = "采购员")
    private Long purchaser;

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


}
