IBIZBOOKDTO.java 7.1 KB
Newer Older
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 40 41 42 43 44 45 46
package cn.ibizlab.demoapi.dto;

import java.sql.Timestamp;
import java.util.ArrayList;
import java.util.List;
import java.math.BigInteger;
import java.util.Map;
import java.util.HashMap;
import java.io.Serializable;
import java.math.BigDecimal;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.alibaba.fastjson.annotation.JSONField;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import cn.ibizlab.util.domain.DTOBase;
import cn.ibizlab.util.domain.DTOClient;
import lombok.Data;

/**
 * 服务DTO对象[IBIZBOOKDTO]
 */
@Data
public class IBIZBOOKDTO extends DTOBase implements Serializable {

	private static final long serialVersionUID = 1L;

    /**
     * 属性 [CREATEMAN]
     *
     */
    @JSONField(name = "createman")
    @JsonProperty("createman")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
    private String createman;

    /**
     * 属性 [IBIZBOOKNAME]
     *
     */
    @JSONField(name = "ibizbookname")
    @JsonProperty("ibizbookname")
47
    @NotBlank(message = "[图书名称]不允许为空!")
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101
    @Size(min = 0, max = 200, message = "内容长度必须小于等于[200]")
    private String ibizbookname;

    /**
     * 属性 [IBIZBOOKID]
     *
     */
    @JSONField(name = "ibizbookid")
    @JsonProperty("ibizbookid")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
    private String ibizbookid;

    /**
     * 属性 [CREATEDATE]
     *
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
    @JSONField(name = "createdate" , format="yyyy-MM-dd HH:mm:ss")
    @JsonProperty("createdate")
    private Timestamp createdate;

    /**
     * 属性 [UPDATEMAN]
     *
     */
    @JSONField(name = "updateman")
    @JsonProperty("updateman")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
    private String updateman;

    /**
     * 属性 [UPDATEDATE]
     *
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
    @JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
    @JsonProperty("updatedate")
    private Timestamp updatedate;

    /**
     * 属性 [AUTHOR]
     *
     */
    @JSONField(name = "author")
    @JsonProperty("author")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
    private String author;

    /**
     * 属性 [PRICE]
     *
     */
    @JSONField(name = "price")
    @JsonProperty("price")
102
    private Double price;
103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121

    /**
     * 属性 [PRESS]
     *
     */
    @JSONField(name = "press")
    @JsonProperty("press")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
    private String press;

    /**
     * 属性 [TYPE]
     *
     */
    @JSONField(name = "type")
    @JsonProperty("type")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
    private String type;

122 123 124 125 126 127 128 129
    /**
     * 属性 [BOOKNUMBER]
     *
     */
    @JSONField(name = "booknumber")
    @JsonProperty("booknumber")
    private Integer booknumber;

130 131 132 133 134 135 136 137 138
    /**
     * 属性 [SUBTEXT]
     *
     */
    @JSONField(name = "subtext")
    @JsonProperty("subtext")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
    private String subtext;

139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158
    /**
     * 属性 [LENDOUTTIME]
     *
     */
    @JsonFormat(pattern="yyyy-MM-dd", locale = "zh" , timezone="GMT+8")
    @JSONField(name = "lendouttime" , format="yyyy-MM-dd")
    @JsonProperty("lendouttime")
    @NotNull(message = "[借出日期]不允许为空!")
    private Timestamp lendouttime;

    /**
     * 属性 [RETURNTIME]
     *
     */
    @JsonFormat(pattern="yyyy-MM-dd", locale = "zh" , timezone="GMT+8")
    @JSONField(name = "returntime" , format="yyyy-MM-dd")
    @JsonProperty("returntime")
    @NotNull(message = "[归还日期]不允许为空!")
    private Timestamp returntime;

159 160 161 162 163 164 165 166 167
    /**
     * 属性 [ICON]
     *
     */
    @JSONField(name = "icon")
    @JsonProperty("icon")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
    private String icon;

168 169 170 171 172 173 174 175 176
    /**
     * 属性 [SAILSTATE]
     *
     */
    @JSONField(name = "sailstate")
    @JsonProperty("sailstate")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
    private String sailstate;

177 178 179 180 181 182 183 184
    /**
     * 属性 [BORROWSTATUS]
     *
     */
    @JSONField(name = "borrowstatus")
    @JsonProperty("borrowstatus")
    private Integer borrowstatus;

185 186 187 188 189 190 191 192 193
    /**
     * 属性 [STEPSTATUS]
     *
     */
    @JSONField(name = "stepstatus")
    @JsonProperty("stepstatus")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
    private String stepstatus;

194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213

    /**
     * 设置 [IBIZBOOKNAME]
     */
    public void setIbizbookname(String  ibizbookname){
        this.ibizbookname = ibizbookname ;
        this.modify("ibizbookname",ibizbookname);
    }

    /**
     * 设置 [AUTHOR]
     */
    public void setAuthor(String  author){
        this.author = author ;
        this.modify("author",author);
    }

    /**
     * 设置 [PRICE]
     */
214
    public void setPrice(Double  price){
215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234
        this.price = price ;
        this.modify("price",price);
    }

    /**
     * 设置 [PRESS]
     */
    public void setPress(String  press){
        this.press = press ;
        this.modify("press",press);
    }

    /**
     * 设置 [TYPE]
     */
    public void setType(String  type){
        this.type = type ;
        this.modify("type",type);
    }

235 236 237 238 239 240 241 242
    /**
     * 设置 [BOOKNUMBER]
     */
    public void setBooknumber(Integer  booknumber){
        this.booknumber = booknumber ;
        this.modify("booknumber",booknumber);
    }

243 244 245 246 247 248 249 250
    /**
     * 设置 [SUBTEXT]
     */
    public void setSubtext(String  subtext){
        this.subtext = subtext ;
        this.modify("subtext",subtext);
    }

251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266
    /**
     * 设置 [LENDOUTTIME]
     */
    public void setLendouttime(Timestamp  lendouttime){
        this.lendouttime = lendouttime ;
        this.modify("lendouttime",lendouttime);
    }

    /**
     * 设置 [RETURNTIME]
     */
    public void setReturntime(Timestamp  returntime){
        this.returntime = returntime ;
        this.modify("returntime",returntime);
    }

267 268 269 270 271 272 273 274
    /**
     * 设置 [ICON]
     */
    public void setIcon(String  icon){
        this.icon = icon ;
        this.modify("icon",icon);
    }

275 276 277 278 279 280 281 282
    /**
     * 设置 [SAILSTATE]
     */
    public void setSailstate(String  sailstate){
        this.sailstate = sailstate ;
        this.modify("sailstate",sailstate);
    }

283 284 285 286 287 288 289 290
    /**
     * 设置 [BORROWSTATUS]
     */
    public void setBorrowstatus(Integer  borrowstatus){
        this.borrowstatus = borrowstatus ;
        this.modify("borrowstatus",borrowstatus);
    }

291 292 293 294 295 296 297 298
    /**
     * 设置 [STEPSTATUS]
     */
    public void setStepstatus(String  stepstatus){
        this.stepstatus = stepstatus ;
        this.modify("stepstatus",stepstatus);
    }

299 300 301 302

}