IBIZOrderDTO.java 9.5 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
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;
23 24
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
25 26 27 28 29

/**
 * 服务DTO对象[IBIZOrderDTO]
 */
@Data
30
@ApiModel("订单")
31 32 33 34 35 36 37 38 39 40 41
public class IBIZOrderDTO extends DTOBase implements Serializable {

	private static final long serialVersionUID = 1L;

    /**
     * 属性 [TP]
     *
     */
    @JSONField(name = "tp")
    @JsonProperty("tp")
    @Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]")
42
    @ApiModelProperty("图片")
43 44 45 46 47 48 49 50 51
    private String tp;

    /**
     * 属性 [ENDTIME]
     *
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
    @JSONField(name = "endtime" , format="yyyy-MM-dd HH:mm:ss")
    @JsonProperty("endtime")
52
    @ApiModelProperty("订单结束时间")
53 54 55 56 57 58 59 60
    private Timestamp endtime;

    /**
     * 属性 [WFSTATE]
     *
     */
    @JSONField(name = "wfstate")
    @JsonProperty("wfstate")
61
    @ApiModelProperty("工作流状态")
62 63 64 65 66 67 68 69 70
    private Integer wfstate;

    /**
     * 属性 [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")
71
    @ApiModelProperty("建立时间")
72 73 74 75 76 77 78 79 80
    private Timestamp createdate;

    /**
     * 属性 [OPINION]
     *
     */
    @JSONField(name = "opinion")
    @JsonProperty("opinion")
    @Size(min = 0, max = 1048576, message = "内容长度必须小于等于[1048576]")
81
    @ApiModelProperty("审批意见")
82 83 84 85 86 87 88 89 90
    private String opinion;

    /**
     * 属性 [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")
91
    @ApiModelProperty("更新时间")
92 93 94 95 96 97 98 99 100
    private Timestamp updatedate;

    /**
     * 属性 [ORDERTYPE]
     *
     */
    @JSONField(name = "ordertype")
    @JsonProperty("ordertype")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
101
    @ApiModelProperty("订单类型")
102 103 104 105 106 107 108 109
    private String ordertype;

    /**
     * 属性 [DETAILNUM]
     *
     */
    @JSONField(name = "detailnum")
    @JsonProperty("detailnum")
110
    @ApiModelProperty("明细数")
111 112 113 114 115 116 117 118 119
    private Integer detailnum;

    /**
     * 属性 [WFINSTANCEID]
     *
     */
    @JSONField(name = "wfinstanceid")
    @JsonProperty("wfinstanceid")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
120
    @ApiModelProperty("工作流实例")
121 122 123 124 125 126 127 128
    private String wfinstanceid;

    /**
     * 属性 [AMOUNT]
     *
     */
    @JSONField(name = "amount")
    @JsonProperty("amount")
129
    @ApiModelProperty("总计")
130 131 132 133 134 135 136 137 138 139
    private Double amount;

    /**
     * 属性 [ORDERUID]
     *
     */
    @JSONField(name = "orderuid")
    @JsonProperty("orderuid")
    @NotBlank(message = "[订单编号]不允许为空!")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
140
    @ApiModelProperty("订单编号")
141 142 143 144 145 146 147 148 149
    private String orderuid;

    /**
     * 属性 [IBIZORDERID]
     *
     */
    @JSONField(name = "ibizorderid")
    @JsonProperty("ibizorderid")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
150
    @ApiModelProperty("订单标识")
151 152 153 154 155 156 157 158 159
    private String ibizorderid;

    /**
     * 属性 [ORDERSTATE]
     *
     */
    @JSONField(name = "orderstate")
    @JsonProperty("orderstate")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
160
    @ApiModelProperty("订单状态")
161 162 163 164 165 166 167 168 169
    private String orderstate;

    /**
     * 属性 [STARTTIME]
     *
     */
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", locale = "zh" , timezone="GMT+8")
    @JSONField(name = "starttime" , format="yyyy-MM-dd HH:mm:ss")
    @JsonProperty("starttime")
170
    @ApiModelProperty("订单开始时间")
171 172 173 174 175 176 177 178 179
    private Timestamp starttime;

    /**
     * 属性 [UPDATEMAN]
     *
     */
    @JSONField(name = "updateman")
    @JsonProperty("updateman")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
180
    @ApiModelProperty("更新人")
181 182 183 184 185 186 187 188 189
    private String updateman;

    /**
     * 属性 [WFSTEP]
     *
     */
    @JSONField(name = "wfstep")
    @JsonProperty("wfstep")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
190
    @ApiModelProperty("工作流步骤")
191 192 193 194 195 196 197 198 199
    private String wfstep;

    /**
     * 属性 [CREATEMAN]
     *
     */
    @JSONField(name = "createman")
    @JsonProperty("createman")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
200
    @ApiModelProperty("建立人")
201 202 203 204 205 206 207 208 209 210
    private String createman;

    /**
     * 属性 [IBIZORDERNAME]
     *
     */
    @JSONField(name = "ibizordername")
    @JsonProperty("ibizordername")
    @NotBlank(message = "[订单名称]不允许为空!")
    @Size(min = 0, max = 200, message = "内容长度必须小于等于[200]")
211
    @ApiModelProperty("订单名称")
212 213 214 215 216 217 218 219 220
    private String ibizordername;

    /**
     * 属性 [ORDERTIME]
     *
     */
    @JsonFormat(pattern="yyyy-MM-dd", locale = "zh" , timezone="GMT+8")
    @JSONField(name = "ordertime" , format="yyyy-MM-dd")
    @JsonProperty("ordertime")
221
    @ApiModelProperty("订单时间")
222 223 224 225 226 227 228 229 230
    private Timestamp ordertime;

    /**
     * 属性 [MEMO]
     *
     */
    @JSONField(name = "memo")
    @JsonProperty("memo")
    @Size(min = 0, max = 2000, message = "内容长度必须小于等于[2000]")
231
    @ApiModelProperty("备注")
232 233 234 235 236 237 238 239 240
    private String memo;

    /**
     * 属性 [IBIZCUSTOMERNAME]
     *
     */
    @JSONField(name = "ibizcustomername")
    @JsonProperty("ibizcustomername")
    @Size(min = 0, max = 200, message = "内容长度必须小于等于[200]")
241
    @ApiModelProperty("客户名称")
242 243 244 245 246 247 248 249 250
    private String ibizcustomername;

    /**
     * 属性 [IBIZCUSTOMERID]
     *
     */
    @JSONField(name = "ibizcustomerid")
    @JsonProperty("ibizcustomerid")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
251
    @ApiModelProperty("客户标识")
252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386
    private String ibizcustomerid;


    /**
     * 设置 [TP]
     */
    public void setTp(String  tp){
        this.tp = tp ;
        this.modify("tp",tp);
    }

    /**
     * 设置 [ENDTIME]
     */
    public void setEndtime(Timestamp  endtime){
        this.endtime = endtime ;
        this.modify("endtime",endtime);
    }

    /**
     * 设置 [WFSTATE]
     */
    public void setWfstate(Integer  wfstate){
        this.wfstate = wfstate ;
        this.modify("wfstate",wfstate);
    }

    /**
     * 设置 [OPINION]
     */
    public void setOpinion(String  opinion){
        this.opinion = opinion ;
        this.modify("opinion",opinion);
    }

    /**
     * 设置 [ORDERTYPE]
     */
    public void setOrdertype(String  ordertype){
        this.ordertype = ordertype ;
        this.modify("ordertype",ordertype);
    }

    /**
     * 设置 [DETAILNUM]
     */
    public void setDetailnum(Integer  detailnum){
        this.detailnum = detailnum ;
        this.modify("detailnum",detailnum);
    }

    /**
     * 设置 [WFINSTANCEID]
     */
    public void setWfinstanceid(String  wfinstanceid){
        this.wfinstanceid = wfinstanceid ;
        this.modify("wfinstanceid",wfinstanceid);
    }

    /**
     * 设置 [AMOUNT]
     */
    public void setAmount(Double  amount){
        this.amount = amount ;
        this.modify("amount",amount);
    }

    /**
     * 设置 [ORDERUID]
     */
    public void setOrderuid(String  orderuid){
        this.orderuid = orderuid ;
        this.modify("orderuid",orderuid);
    }

    /**
     * 设置 [ORDERSTATE]
     */
    public void setOrderstate(String  orderstate){
        this.orderstate = orderstate ;
        this.modify("orderstate",orderstate);
    }

    /**
     * 设置 [STARTTIME]
     */
    public void setStarttime(Timestamp  starttime){
        this.starttime = starttime ;
        this.modify("starttime",starttime);
    }

    /**
     * 设置 [WFSTEP]
     */
    public void setWfstep(String  wfstep){
        this.wfstep = wfstep ;
        this.modify("wfstep",wfstep);
    }

    /**
     * 设置 [IBIZORDERNAME]
     */
    public void setIbizordername(String  ibizordername){
        this.ibizordername = ibizordername ;
        this.modify("ibizordername",ibizordername);
    }

    /**
     * 设置 [ORDERTIME]
     */
    public void setOrdertime(Timestamp  ordertime){
        this.ordertime = ordertime ;
        this.modify("ordertime",ordertime);
    }

    /**
     * 设置 [MEMO]
     */
    public void setMemo(String  memo){
        this.memo = memo ;
        this.modify("memo",memo);
    }

    /**
     * 设置 [IBIZCUSTOMERID]
     */
    public void setIbizcustomerid(String  ibizcustomerid){
        this.ibizcustomerid = ibizcustomerid ;
        this.modify("ibizcustomerid",ibizcustomerid);
    }


}