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

	private static final long serialVersionUID = 1L;

    /**
     * 属性 [UPDATEMAN]
     *
     */
    @JSONField(name = "updateman")
    @JsonProperty("updateman")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
42
    @ApiModelProperty("更新人")
43 44 45 46 47 48 49 50
    private String updateman;

    /**
     * 属性 [QUANTITY]
     *
     */
    @JSONField(name = "quantity")
    @JsonProperty("quantity")
51
    @ApiModelProperty("数量")
52 53 54 55 56 57 58 59 60
    private Integer quantity;

    /**
     * 属性 [IBIZSAMPLE0011ID]
     *
     */
    @JSONField(name = "ibizsample0011id")
    @JsonProperty("ibizsample0011id")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
61
    @ApiModelProperty("订单明细标识")
62 63 64 65 66 67 68 69 70
    private String ibizsample0011id;

    /**
     * 属性 [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;

    /**
     * 属性 [CREATEMAN]
     *
     */
    @JSONField(name = "createman")
    @JsonProperty("createman")
    @Size(min = 0, max = 60, message = "内容长度必须小于等于[60]")
81
    @ApiModelProperty("建立人")
82 83 84 85 86 87 88 89 90
    private String createman;

    /**
     * 属性 [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;

    /**
     * 属性 [IBIZSAMPLE0011NAME]
     *
     */
    @JSONField(name = "ibizsample0011name")
    @JsonProperty("ibizsample0011name")
    @Size(min = 0, max = 200, message = "内容长度必须小于等于[200]")
101
    @ApiModelProperty("订单明细名称")
102 103 104 105 106 107 108 109
    private String ibizsample0011name;

    /**
     * 属性 [AMOUNT]
     *
     */
    @JSONField(name = "amount")
    @JsonProperty("amount")
110
    @ApiModelProperty("小计")
111 112 113 114 115 116 117 118 119
    private Double amount;

    /**
     * 属性 [IBIZSAMPLE0010NAME]
     *
     */
    @JSONField(name = "ibizsample0010name")
    @JsonProperty("ibizsample0010name")
    @Size(min = 0, max = 200, message = "内容长度必须小于等于[200]")
120
    @ApiModelProperty("订单名称")
121 122 123 124 125 126 127 128 129
    private String ibizsample0010name;

    /**
     * 属性 [IBIZUNIPRODUCTNAME]
     *
     */
    @JSONField(name = "ibizuniproductname")
    @JsonProperty("ibizuniproductname")
    @Size(min = 0, max = 200, message = "内容长度必须小于等于[200]")
130
    @ApiModelProperty("统一产品名称")
131 132 133 134 135 136 137 138
    private String ibizuniproductname;

    /**
     * 属性 [UNITPRICE]
     *
     */
    @JSONField(name = "unitprice")
    @JsonProperty("unitprice")
139
    @ApiModelProperty("单价")
140 141 142 143 144 145 146 147 148
    private Double unitprice;

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

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

    /**
     * 属性 [IBIZUNIPRODUCTID]
     *
     */
    @JSONField(name = "ibizuniproductid")
    @JsonProperty("ibizuniproductid")
    @Size(min = 0, max = 100, message = "内容长度必须小于等于[100]")
169
    @ApiModelProperty("统一产品标识")
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
    private String ibizuniproductid;


    /**
     * 设置 [QUANTITY]
     */
    public void setQuantity(Integer  quantity){
        this.quantity = quantity ;
        this.modify("quantity",quantity);
    }

    /**
     * 设置 [IBIZSAMPLE0011NAME]
     */
    public void setIbizsample0011name(String  ibizsample0011name){
        this.ibizsample0011name = ibizsample0011name ;
        this.modify("ibizsample0011name",ibizsample0011name);
    }

    /**
     * 设置 [IBIZSAMPLE0010ID]
     */
    public void setIbizsample0010id(String  ibizsample0010id){
        this.ibizsample0010id = ibizsample0010id ;
        this.modify("ibizsample0010id",ibizsample0010id);
    }

    /**
     * 设置 [IBIZUNIPRODUCTID]
     */
    public void setIbizuniproductid(String  ibizuniproductid){
        this.ibizuniproductid = ibizuniproductid ;
        this.modify("ibizuniproductid",ibizuniproductid);
    }


}