IBIZSample0010DTO.java 4.7 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对象[IBIZSample0010DTO]
 */
@Data
30
@ApiModel("订单")
31 32 33 34 35 36 37 38 39 40 41
public class IBIZSample0010DTO extends DTOBase implements Serializable {

	private static final long serialVersionUID = 1L;

    /**
     * 属性 [ORDERTYPE]
     *
     */
    @JSONField(name = "ordertype")
    @JsonProperty("ordertype")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
42
    @ApiModelProperty("订单类型")
43 44 45 46 47 48 49 50 51
    private String ordertype;

    /**
     * 属性 [CREATEMAN]
     *
     */
    @JSONField(name = "createman")
    @JsonProperty("createman")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
52
    @ApiModelProperty("建立人")
53 54 55 56 57 58 59 60 61
    private String createman;

    /**
     * 属性 [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")
62
    @ApiModelProperty("建立时间")
63 64 65 66 67 68 69 70 71
    private Timestamp createdate;

    /**
     * 属性 [MEMO]
     *
     */
    @JSONField(name = "memo")
    @JsonProperty("memo")
    @Size(min = 0, max = 2000, message = "内容长度必须小于等于[2000]")
72
    @ApiModelProperty("备注")
73 74 75 76 77 78 79 80 81
    private String memo;

    /**
     * 属性 [IBIZSAMPLE0010NAME]
     *
     */
    @JSONField(name = "ibizsample0010name")
    @JsonProperty("ibizsample0010name")
    @Size(min = 0, max = 200, message = "内容长度必须小于等于[200]")
82
    @ApiModelProperty("订单名称")
83 84 85 86 87 88 89 90 91
    private String ibizsample0010name;

    /**
     * 属性 [ORDERUID]
     *
     */
    @JSONField(name = "orderuid")
    @JsonProperty("orderuid")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
92
    @ApiModelProperty("订单编号")
93 94 95 96 97 98 99 100 101
    private String orderuid;

    /**
     * 属性 [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")
102
    @ApiModelProperty("更新时间")
103 104 105 106 107 108 109 110 111
    private Timestamp updatedate;

    /**
     * 属性 [UPDATEMAN]
     *
     */
    @JSONField(name = "updateman")
    @JsonProperty("updateman")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
112
    @ApiModelProperty("更新人")
113 114 115 116 117 118 119 120 121
    private String updateman;

    /**
     * 属性 [ORDERTIME]
     *
     */
    @JsonFormat(pattern="yyyy-MM-dd", locale = "zh" , timezone="GMT+8")
    @JSONField(name = "ordertime" , format="yyyy-MM-dd")
    @JsonProperty("ordertime")
122
    @ApiModelProperty("订单时间")
123 124 125 126 127 128 129 130 131
    private Timestamp ordertime;

    /**
     * 属性 [IBIZSAMPLE0010ID]
     *
     */
    @JSONField(name = "ibizsample0010id")
    @JsonProperty("ibizsample0010id")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
132
    @ApiModelProperty("订单标识")
133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179
    private String ibizsample0010id;


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

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

    /**
     * 设置 [IBIZSAMPLE0010NAME]
     */
    public void setIbizsample0010name(String  ibizsample0010name){
        this.ibizsample0010name = ibizsample0010name ;
        this.modify("ibizsample0010name",ibizsample0010name);
    }

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

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


}