中扬CRM客户关系管理系统
#
LSH
2023-11-10 2a08b97f0aad3af5d981a722efb218fb201f821f
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
81
82
83
84
85
86
87
88
89
package com.zy.crm.manager.entity;
 
import com.core.common.Cools;import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
 
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
 
@Data
@TableName("man_contract_sales")
public class ContractSales implements Serializable {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value= "")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
 
    /**
     * 品名
     */
    @ApiModelProperty(value= "品名")
    private String name;
 
    /**
     * 数量
     */
    @ApiModelProperty(value= "数量")
    private Double num;
 
    /**
     * 单位
     */
    @ApiModelProperty(value= "单位")
    private String unit;
 
    /**
     * 单价
     */
    @ApiModelProperty(value= "单价")
    @TableField("unit_price")
    private Double unitPrice;
 
    /**
     * 总价
     */
    @ApiModelProperty(value= "总价")
    @TableField("total_price")
    private Double totalPrice;
 
    /**
     * 备注
     */
    @ApiModelProperty(value= "备注")
    private String memo;
 
    /**
     * 合同ID
     */
    @ApiModelProperty(value= "合同ID")
    private Long contractId;
 
    public ContractSales() {}
 
    public ContractSales(Long id, String name, Double num, String unit, Double unitPrice, Double totalPrice, String memo, Long contractId) {
        this.id = id;
        this.name = name;
        this.num = num;
        this.unit = unit;
        this.unitPrice = unitPrice;
        this.totalPrice = totalPrice;
        this.memo = memo;
        this.contractId = contractId;
    }
 
    //    ContractSales contractSales = new ContractSales(
//            null,    // 品名
//            null,    // 数量
//            null,    // 单位
//            null,    // 单价
//            null,    // 总价
//            null    // 备注
//    );
 
 
}