package org.dromara.zjk.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 lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 上行短信表
 *
 * @TableName zjk_sms_up
 */
@TableName(value = "zjk_sms_up")
@Data
public class ZjkSmsUp implements Serializable {
    /**
     * 租户号
     */
    @TableId(value = "ID",type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 上行短信内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 发送人id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 发送人手机号
     */
    @TableField(value = "mobile")
    private String mobile;

    /**
     * 发送时间
     */
    @TableField(value = "send_time")
    private Date sendTime;

    /**
     * 登录账户
     */
    @TableField(value = "login_name")
    private String loginName;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private Date createTime;
    /**
     * 上行短信类型1专家抽取确认
     */
    @TableField(value = "up_type")
    private Integer upType;


    /**
     * 租户id
     */
    @TableField(value = "tenant_id")
    private String tenantId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}
