QyzxSms.java 1.54 KB
Newer Older
yuquan.zhu committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
package cn.timer.api.bean.qyzx;

import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
* @author Tang 2019-11-13
*/
@Entity
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name="qyzx_sms")
@ApiModel("短信内容表")
public class QyzxSms extends Model<QyzxSms> {

	private static final long serialVersionUID = -5621237996991889553L;

	@Id
    @GeneratedValue
    @TableId (type = IdType.AUTO)
	@ApiModelProperty(value="主键",example="101")
    private Integer id;
邓实川 committed
40 41 42
	
	@ApiModelProperty(value="使用记录表id",example="101")
    private Integer useId;
yuquan.zhu committed
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
    
	@ApiModelProperty(value="组织机构代码 组织机构代码",example="101")
    private Integer orgCode;
    
	@ApiModelProperty(value="电话号码 ",example="电话号码")
    private String phone;
    
	@ApiModelProperty(value="短信类型 1.验证码 2.消息推送 3通知提醒",example="101")
    private Integer messageType;
    
	@ApiModelProperty(value="内容 ",example="内容")
    private String content;
    
	@ApiModelProperty(value="发送时间 ",example="短信发送时间")
    private Date createTime;

}