package com.jeeplus.psimanage.loss.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.jeeplus.core.domain.BaseEntity;
import lombok.Data;

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

@Data
@TableName("psi_management_loss_basics")
public class PsiLossBasic extends BaseEntity {

    public static final String BIZ_CODE = "152";

    private String remarks;

    private String procInsId;

    private String status;

    private String processDefinitionId;

    @TableField("collect_no")
    private String lossNo;

    private String handledBy;

    private String handledByOffice;

    @JsonFormat(pattern = "yyyy-MM-dd")
    @TableField("collect_date")
    private Date lossDate;

    @TableField(exist = false)
    private List<PsiLossDetailed> detailInfos;
}
