XiaoRuby
2023-09-24 20956b0f05f81ca47cf6c3e8f9b3b426e9cfd035
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
47
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
package com.yuanchu.mom.pojo;
 
import com.baomidou.mybatisplus.annotation.*;
 
import java.time.LocalDate;
 
import java.io.Serializable;
import java.util.Date;
 
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;
 
/**
 * <p>
 * 销售产品单
 * </p>
 *
 * @author 江苏鵷雏网络科技有限公司
 * @since 2023-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="SaleMaterial对象", description="销售产品单")
public class SaleMaterial implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
 
    @ApiModelProperty(value = "产品名称")
    private String name;
 
    @ApiModelProperty(value = "规格型号")
    private String specifications;
 
    @ApiModelProperty(value = "单位")
    private String unit;
 
    @ApiModelProperty(value = "数量")
    private Integer number;
 
    @ApiModelProperty(value = "单价")
    private String price;
 
    @ApiModelProperty(value = "收货地址")
    private String adress;
 
    @ApiModelProperty(value = "联系人")
    private String username;
 
    @ApiModelProperty(value = "联系电话")
    private String phone;
 
    @ApiModelProperty(value = "逻辑删除 正常>=1,删除<=0", hidden = true)
    private Integer state;
 
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date createTime;
 
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date updateTime;
 
    @ApiModelProperty(value = "销售单id")
    private Integer saleId;
 
    @ApiModelProperty(value = "编制状态0:待编制;1已编制;")
    private Integer type;
 
 
}