package com.zd.chemical.domain;

import javax.validation.constraints.NotBlank;

import org.hibernate.validator.constraints.Length;
import com.zd.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;
import com.zd.common.core.web.domain.BaseEntity;

/**
 * 四医大校方短信对接日志对象 syd_sms_log
 *
 * @author liubo
 * @date 2022-09-16
 */
@ApiModel("四医大校方短信对接日志")
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
public class SydSmsLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @ApiModelProperty(value = "${comment}")
    private Long id;
    /**
     * 手机号
     */
    @ApiModelProperty(value = "手机号")
    private String phone;
    /**
     * 通知内容
     */
    @ApiModelProperty(value = "通知内容")
    private String content;
    /**
     * 短信下发批次
     */
    @ApiModelProperty(value = "短信下发批次")
    private String uuid;
    /**
     * 0 下发成功，负数为失败（见状态码）
     */
    @ApiModelProperty(value = "0 下发成功，负数为失败")
    private Integer status;
    /**
     * 是否回复
     */
    @ApiModelProperty(value = "是否回复")
    private Integer reply;
    /**
     * 回复内容
     */
    @ApiModelProperty(value = "回复内容")
    private String replyContent;

    @ApiModelProperty(value = "用途：1 化学品告警，2 登录，3 开锁，4 气瓶告警，5 预案告警")
    private Integer purpose;

    @ApiModelProperty(value = "开门申请id")
    private Long lockApplyId;

}
