package cn.ezhizao.project.business.carrier.domain;

import cn.ezhizao.framework.web.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;


/**
 * 企业租户对象 biz_carrier_reject
 *
 * @author ezhizao
 * @date 2024-01-09
 */
@Data
@TableName(value = "biz_carrier_reject")
public class BizCarrierReject extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 载具的id */
    @ApiModelProperty(value = "${comment}")
    private Long carrierId;

    /** 废品原因 */
    @ApiModelProperty(value = "废弃原因")
    private String abandonmentReason;

    /** 载具状态 */
    @ApiModelProperty(value = "载具状态")
    private Integer isAbandoned;


    /** 报废日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(value = "操作日期")
    private Date operationDate;

    @TableField(exist = false)
    private Long categoryId;

    @TableField(exist = false)
    private String code;


}
