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;

/**
 * 投诉对象 crm_complain
 *
 * @author sy
 * @date 2024-05-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("crm_complain")
@ApiModel(value = "投诉")
public class CrmComplain extends Model<CrmComplain> {

private static final long serialVersionUID=1L;

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

@ApiModelProperty(value = "投诉类型")
    /** 投诉类型 */
                @ExcelImport(value = "投诉类型")
                @ExcelExport(value = "投诉类型")
    private String type;

@ApiModelProperty(value = "投诉标题")
    /** 投诉标题 */
                @ExcelImport(value = "投诉标题")
                @ExcelExport(value = "投诉标题")
    private String title;

@ApiModelProperty(value = "投诉内容")
    /** 投诉内容 */
                @ExcelImport(value = "投诉内容")
                @ExcelExport(value = "投诉内容")
    private String content;

@ApiModelProperty(value = "投诉人姓名")
    /** 投诉人姓名 */
                @ExcelImport(value = "投诉人姓名")
                @ExcelExport(value = "投诉人姓名")
    private String name;

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

    @ApiModelProperty(value = "统一社会信用代码")
    /** 统一社会信用代码 */
    @ExcelImport(value = "统一社会信用代码")
    @ExcelExport(value = "统一社会信用代码")
    private String unifiedSocialCreditCode;

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

@ApiModelProperty(value = "身份证号")
    /** 身份证号 */
                @ExcelImport(value = "身份证号")
                @ExcelExport(value = "身份证号")
    private String card;

@ApiModelProperty(value = "图片文件")
    /** 图片文件 */
                @ExcelImport(value = "图片文件")
                @ExcelExport(value = "图片文件")
    private Long fileId;

    @ApiModelProperty(value = "创建者")
    private String createBy;
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
    @ApiModelProperty(value = "更新者")
    private String updateBy;
    @ApiModelProperty(value = "更新时间")
    private Date updateTime;
    @ApiModelProperty(value = "备注")
    private String remark;

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

        }
