package com.zksy.system.basicData.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.zksy.common.utils.file.ExcelExport;
import com.zksy.common.utils.file.ExcelImport;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

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

/**
 * 官网自主上报对象 ow_self_reporting
 *
 * @author sy
 * @date 2024-06-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ow_self_reporting")
@ApiModel(value = "官网自主上报")
public class OwSelfReporting extends Model<OwSelfReporting> {

private static final long serialVersionUID=1L;

@ApiModelProperty(value = "主键")
    /** 主键 */
        @TableId(type = IdType.AUTO)
    private Long id;

@ApiModelProperty(value = "企业代码")
    /** 企业代码 */
                @ExcelImport(value = "企业代码")
                @ExcelExport(value = "企业代码")
    private String unifiedSocialCreditCode;

@ApiModelProperty(value = "企业名称")
    /** 企业名称 */
                @ExcelImport(value = "企业名称")
                @ExcelExport(value = "企业名称")
    private String enterpriseName;

@ApiModelProperty(value = "联系人")
    /** 联系人 */
                @ExcelImport(value = "联系人")
                @ExcelExport(value = "联系人")
    private String contacts;

@ApiModelProperty(value = "联系方式")
    /** 联系方式 */
                @ExcelImport(value = "联系方式")
                @ExcelExport(value = "联系方式")
    private String contactInformation;

    @ApiModelProperty(value = "上报人身份证号码")
    /** 上报人身份证号码 */
    @ExcelImport(value = "上报人身份证号码")
    @ExcelExport(value = "上报人身份证号码")
    private String complainantIdNumber;

@ApiModelProperty(value = "创建时间")
private Date createTime;
@ApiModelProperty(value = "更新时间")
private Date updateTime;

    @TableField(exist = false)
    private List<CrmFile> files;

        }
