package com.jwipc.contract.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 合同 - mro 数据
 * </p>
 *
 * @author zx
 * @since 2024-04-09
 */
@Getter
@Setter
@TableName("t_contract_detail_mro")
public class ContractDetailMro implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long contractId;

    private String contractCode;

    /**
     * 文件名称
     */
    private String name;

    /**
     * 份数
     */
    private String num;

    /**
     * 签约日期
     */
    private LocalDate signTime;

    /**
     * 我方负责人
     */
    private String ourPeople;

    /**
     * 对方负责人
     */
    private String otherPeople;

    /**
     * 合同金额
     */
    private BigDecimal amount;

    /**
     * 附件
     */
    private Long fileId;

    /**
     * 删除标记；0-未删除；1-已删除
     */
    private Integer deleteFlag;
}
