package com.ruoyi.cs.domain.template;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;

/**
 * 开户记录对象模版 cs_open_record
 *
 * @author ruoyi
 * @date 2024-05-29
 */
@Getter
@Setter
@ToString
public class CsOpenRecordTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 账户分类 */
    @Excel(name = "账户分类")
    private String accountClass;

    /** 工单账号 */
    @Excel(name = "工单账号")
    private String orderAccount;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String userName;

    /** 用户单位 */
    @Excel(name = "用户单位")
    private String userCompany;

    /** 单位类型 */
    @Excel(name = "单位类型")
    private String companyClass;

    /** 手机号 */
    @Excel(name = "手机号")
    private String concatPhone;

    /** 邮箱 */
    @Excel(name = "邮箱")
    private String email;

    /** 开通账号日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开通账号日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date openTime;

    /** 账号到期日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "账号到期日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date expireTime;

    /** 申请资源 */
    @Excel(name = "申请资源")
    private String applyResource;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

}
