rk
7 天以前 08675d26d73c60e1c593e901e09588acf2c39233
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
package com.doumee.dao.business.model;
 
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.doumee.core.annotation.excel.ExcelColumn;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
 
import java.util.Date;
 
/**
 * 计价规则配置
 * @author rk
 * @date 2026/04/08
 */
@Data
@ApiModel("计价规则配置")
@TableName("`pricing_rule`")
public class PricingRule {
 
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键", example = "1")
    private Integer id;
 
    @ApiModelProperty(value = "是否已删除 0未删除 1已删除", example = "0")
    private Integer deleted;
 
    @ApiModelProperty(value = "创建人编码", example = "1")
    private Integer createUser;
 
    @ApiModelProperty(value = "创建时间")
    @ExcelColumn(name = "创建时间", index = 1, width = 16, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
 
    @ApiModelProperty(value = "更新人编码", example = "1")
    private Integer updateUser;
 
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date updateTime;
 
    @ApiModelProperty(value = "备注")
    private String remark;
 
    @ApiModelProperty(value = "城市主键(area_id)", example = "1")
    private Integer cityId;
 
    @ApiModelProperty(value = "类型:0=就地存取规则;1=异地存取规则;2=预计失效;3=门店注册押金;4=分成比例", example = "0")
    @ExcelColumn(name = "类型", index = 2, width = 10, valueMapping = "0=就地存取规则;1=异地存取规则;2=预计失效;3=门店注册押金;4=分成比例;")
    private Integer type;
 
    @ApiModelProperty(value = "参数1:type (0/1)=  关联 物品尺寸(category type =4);type (2)= 默认 1 ; type (3)  = 企业类型(0=企业;1=个人);type (4) = 类型(企业/个人/配送员)")
    private String fieldA;
 
    @ApiModelProperty(value = "参数2:type (0)=  收费单价 ;type (1)= 配送起步里程公里数 ;type (2)= 起送里程 km ; type (3)  = 押金;type (4) = 地点类型(寄件点/取件点/分成比例)")
    private String fieldB;
 
    @ApiModelProperty(value = "参数3:type (1)= 配送起步里程每公里单价 ;type (2)  = 起送时长; type (3)  = 押金;type (4) = 分成比例")
    private String fieldC;
 
    @ApiModelProperty(value = "参数4:type=1  超出首单里程公里数 ; type =2  续送里程 km;")
    private String fieldD;
 
    @ApiModelProperty(value = "参数5:type=1  超出首单里程每公里 单价 ; type =2 续送时长")
    private String fieldE;
 
}