package com.bonus.material.contract.domain;

import com.bonus.common.biz.domain.BmFileInfo;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

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

/**
 * @Author：liang.chao
 * @Date：2024/12/13 - 9:17
 */
@Data
public class BmContract {
    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "合同编号")
    private String contractCode;

    @ApiModelProperty(value = "合同名称")
    private String contractName;

    @ApiModelProperty(value = "状态（0：禁止 1启用）")
    private Integer status;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty(value = "用户id")
    private Long ownerId;

    @ApiModelProperty(value = "用户所属公司")
    private Long ownerCom;

    private String startTime;
    private String endTime;

    @ApiModelProperty(value = "文件附件")
    private List<BmFileInfo> bmFileInfoList;

    @ApiModelProperty(value = "合同模板所属公司")
    private Integer companyId;

    @ApiModelProperty(value = "0:系统模版 1:用户模版")
    private Integer type;

    @ApiModelProperty(value = "模板内容")
    private String content;

    @ApiModelProperty(value = "模板名称")
    private String templateName;
}
