// Path: src/main/java/org/redkale/demo/base/BaseBean.java
// @Bean
// public abstract class BaseBean {
// 
//     @Override
//     public String toString() {
//         return JsonConvert.root().convertTo(this);
//     }
// }


import org.redkale.demo.base.BaseBean;
import org.redkale.source.*;
import org.redkale.util.Comment;
import javax.persistence.Column;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.redkale.demo.notice;


/**
 *
 * @author zhangjx
 */
public class SmsBean extends BaseBean implements FilterBean {

    @Column(comment = "状态; 10:未发送; 20:已发送; 30:发送失败;")
    private short[] status; //状态; 10:未发送; 20:已发送; 30:发送失败;

    @Column(comment = "短信类型; 10:验证码；20:营销短信；")
    private short[] smstype; //发送类型

    @Column(length = 32, comment = "手机号码")
    private String mobile;  //手机号码

    @Comment("时间范围，本字段必须有值，且范围必须在一个自然月内")
    private Range.LongRange createtime; //时间范围

    public short[] getStatus() {
        return status;
    }

    public void setStatus(short[] status) {
        this.status = status;
    }

    public short[] getSmstype() {
        return smstype;
    }


// Path: src/main/java/org/redkale/demo/base/BaseBean.java
// @Bean
// public abstract class BaseBean {
// 
//     @Override
//     public String toString() {
//         return JsonConvert.root().convertTo(this);
//     }
// }


// Path: src/main/java/org/redkale/demo/notice/SmsBean.java
import org.redkale.demo.base.BaseBean;
import org.redkale.source.*;
import org.redkale.util.Comment;
import javax.persistence.Column;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package org.redkale.demo.notice;


/**
 *
 * @author zhangjx
 */
public class SmsBean extends BaseBean implements FilterBean {

    @Column(comment = "状态; 10:未发送; 20:已发送; 30:发送失败;")
    private short[] status; //状态; 10:未发送; 20:已发送; 30:发送失败;

    @Column(comment = "短信类型; 10:验证码；20:营销短信；")
    private short[] smstype; //发送类型

    @Column(length = 32, comment = "手机号码")
    private String mobile;  //手机号码

    @Comment("时间范围，本字段必须有值，且范围必须在一个自然月内")
    private Range.LongRange createtime; //时间范围

    public short[] getStatus() {
        return status;
    }

    public void setStatus(short[] status) {
        this.status = status;
    }

    public short[] getSmstype() {
        return smstype;
    }


    public void setSmstype(short[] smstype) {
