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

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableName;
import cn.ezhizao.framework.web.domain.BaseEntity;
import lombok.Data;
import io.swagger.annotations.ApiModelProperty;
import cn.ezhizao.framework.aspectj.lang.annotation.Excel;
import org.checkerframework.checker.units.qual.A;

/**
 * 委托签约合同对象 biz_entrust_order
 *
 * @author ruoyi
 * @date 2023-12-05
 */
@Data
@TableName(value = "biz_entrust_order")
public class BizEntrustOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 往来单位id */
    @ApiModelProperty(value = "${comment}")
    private Long fromTenantId;

    /** 签约主体id */
    @ApiModelProperty(value = "${comment}")
    private Long tenantId;

    @Excel(name = "签约主体")
    @TableField(exist = false)
    private String signingSubject;

    /** 签约日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签约日期", width = 20, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "签约日期")
    private Date formDate;

    /** 合同号 */
    @Excel(name = "合同编号")
    @ApiModelProperty(value = "合同号")
    private String formNo;

    @Excel(name = "往来单位")
    @TableField(exist = false)
    private String contactCompany;

    @Excel(name = "预存金额")
    @TableField(exist = false)
    private BigDecimal depositAmount;

    @Excel(name = "结余金额")
    @TableField(exist = false)
    private BigDecimal remainAmount;

    /** 状态 0 未签订 1 进行中 2 已完成 */
//    @Excel(name = "状态 0 未签订 1 进行中 2 已完成")
    @ApiModelProperty(value = "状态 0 未签订 1 进行中 2 已完成")
    private Integer status;

    @Excel(name = "状态")
    @TableField(exist = false)
    private String statusTyp;





}
