package com.zksy.system.basicData.domain;

import com.baomidou.mybatisplus.annotation.IdType;
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;

/**
 * 官网留言对象 ow_leaving_message
 *
 * @author sy
 * @date 2024-06-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("ow_leaving_message")
@ApiModel(value = "官网留言")
public class OwLeavingMessage extends Model<OwLeavingMessage> {

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 enterpriseName;

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

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

@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 String content;

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