package com.zcloud.basic.info.dto.clientobject;

import com.alibaba.cola.dto.ClientObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.Date;


/**
 * web-client
 *
 * @Author zhaokai
 * @Date 2025-10-30 09:54:17
 */
@Data
public class CorpQualificationInfoCO extends ClientObject {
    //主键
    @ApiModelProperty(value = "主键")
    private Long id;
    //资质id
    @ApiModelProperty(value = "资质id")
    private String corpQualificationinfoId;
    //企业id
    @ApiModelProperty(value = "企业id")
    private Long corpinfoId;
    //资质名称
    @ApiModelProperty(value = "资质名称")
    private String qualificationName;
    //企业资质开始日期

    @ApiModelProperty(value = "开始证书有效期", name = "startValidityTime", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startValidityTime;
    @ApiModelProperty(value = "结束证书有效期", name = "endValidityTime", required = true)
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endValidityTime;
    //证书编号
    @ApiModelProperty(value = "证书编号")
    private String certificateNo;

    //乐观锁
    @ApiModelProperty(value = "乐观锁")
    private Integer version;
    //创建人
    @ApiModelProperty(value = "创建人")
    private Long createId;
    //创建人姓名
    @ApiModelProperty(value = "创建人姓名")
    private String createName;
    //创建时间
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;
    //更新人
    @ApiModelProperty(value = "更新人")
    private Long updateId;
    //修改人名称
    @ApiModelProperty(value = "修改人名称")
    private String updateName;
    //更新时间
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;
    //描述
    @ApiModelProperty(value = "描述")
    private String remarks;
    //是否删除
    @ApiModelProperty(value = "是否删除")
    private String deleteEnum;
    //租户ID
    @ApiModelProperty(value = "租户ID")
    private Long tenantId;
    //机构ID
    @ApiModelProperty(value = "机构ID")
    private Long orgId;
    //环境
    @ApiModelProperty(value = "环境")
    private String env;
}

