xiangpei
2025-05-09 8bac7fce756f23f92ab19de130e271eae1db7049
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
package cn.lili.modules.store.entity.dos;
 
import cn.lili.modules.store.entity.dto.StoreLogisticsCustomerDTO;
import cn.lili.mybatis.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
 
import javax.validation.constraints.NotNull;
 
/**
 * 店铺-物流公司设置
 *
 * @author Chopper
 * @since 2020/11/17 8:01 下午
 */
@Data
@TableName("li_store_logistics")
@ApiModel(value = "店铺-物流公司")
@AllArgsConstructor
@NoArgsConstructor
public class StoreLogistics extends BaseEntity {
 
    private static final long serialVersionUID = 1L;
 
    @ApiModelProperty(value = "店铺ID")
    private String storeId;
 
    @ApiModelProperty(value = "物流公司ID")
    @NotNull
    private String logisticsId;
 
    @ApiModelProperty(value = "客户代码")
    private String customerName;
 
    @ApiModelProperty(value = "客户密码")
    private String customerPwd;
 
    @ApiModelProperty(value = "密钥")
    private String monthCode;
 
    @ApiModelProperty(value = "归属网点/网点编码")
    private String sendSite;
 
    @ApiModelProperty(value = "收件快递员")
    private String sendStaff;
 
    @ApiModelProperty(value = "是否使用电子面单")
    private boolean faceSheetFlag;
 
    @ApiModelProperty(value = "支付方式")
    private String payType;
 
    @ApiModelProperty(value = "快递类型")
    private String expType;
 
    public StoreLogistics(StoreLogisticsCustomerDTO storeLogisticsCustomerDTO){
        this.customerName=storeLogisticsCustomerDTO.getCustomerName();
        this.customerPwd=storeLogisticsCustomerDTO.getCustomerPwd();
        this.sendSite=storeLogisticsCustomerDTO.getSendSite();
        this.sendStaff=storeLogisticsCustomerDTO.getSendStaff();
        this.monthCode=storeLogisticsCustomerDTO.getMonthCode();
        this.faceSheetFlag=storeLogisticsCustomerDTO.isFaceSheetFlag();
        this.payType = storeLogisticsCustomerDTO.getPayType();
        this.expType = storeLogisticsCustomerDTO.getExpType();
    }
 
 
 
}