parent
90cfec7d93
commit
59db863195
@ -1,16 +1,28 @@
|
||||
package jty.expressdistributionsystem.DTO;
|
||||
|
||||
import jty.expressdistributionsystem.entity.Address;
|
||||
import jty.expressdistributionsystem.entity.Goods;
|
||||
import jty.expressdistributionsystem.entity.Records;
|
||||
import jty.expressdistributionsystem.entity.User;
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ExpressListDTO {
|
||||
private Records records;
|
||||
private Goods goods;
|
||||
private User sender; // 寄件人
|
||||
private User recipient; // 收件人
|
||||
private User addressee; // 签收者
|
||||
private User courier; // 派送的快递员
|
||||
private Address address; // 送到哪里
|
||||
|
||||
public ExpressListDTO(Records records, Goods goods) {
|
||||
public ExpressListDTO(Records records, Goods goods, User sender, User recipient, User addressee, User courier, Address address) {
|
||||
this.records = records;
|
||||
this.goods = goods;
|
||||
this.sender = sender;
|
||||
this.recipient = recipient;
|
||||
this.addressee = addressee;
|
||||
this.courier = courier;
|
||||
this.address = address;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in new issue