package com.jeeplus.pubmodules.contract.domain;

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;

/**
 * 物资管理-合同表
 * @author: 王强
 * @create: 2023-01-13 13:56
 **/
@Data
@TableName("material_management_contract")
public class Contract extends BaseEntity {

    //入库编号（字典值）
    public static final String BIZ_CODE = "30";

    //备注1
    private String remarks1;
    //备注2
    private String remarks2;

    private String procInsId;

    /**
     * 状态
     */
    private String status;

    private String processDefinitionId;

    //客户名称
    private String name;

    //是否有统一社会信用代码
    private String isUscCode;

    //统一社会信用代码
    private String uscCode;

    //注册地址
    private String companyAddress;

    //详细地址
    private String address;

    //公司电话
    private String mobile;

    //合同名称
    private String contractName;

    //合同编号
    private String contractNo;

    //签订日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date signingDate;

    //合同生效日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date effectiveDate;

    //合同终止日期
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endTime;

}
