feat(common): 新增 BankVo、CompanyBlackReasonVo 和 CompanyContactVo 类
- 新增 BankVo 类,用于表示银行信息 - 新增 CompanyBlackReasonVo 类,用于表示公司黑名单原因 - 新增 CompanyContactVo 类,用于表示公司联系人信息
This commit is contained in:
12
common/src/main/java/com/ecep/contract/vo/BankVo.java
Normal file
12
common/src/main/java/com/ecep/contract/vo/BankVo.java
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
package com.ecep.contract.vo;
|
||||||
|
|
||||||
|
import com.ecep.contract.model.IdentityEntity;
|
||||||
|
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class BankVo implements IdentityEntity {
|
||||||
|
private Integer id;
|
||||||
|
private String code;
|
||||||
|
private String name;
|
||||||
|
}
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
package com.ecep.contract.vo;
|
||||||
|
|
||||||
|
import com.ecep.contract.model.IdentityEntity;
|
||||||
|
import com.ecep.contract.BlackReasonType;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class CompanyBlackReasonVo implements IdentityEntity {
|
||||||
|
private Integer id;
|
||||||
|
private Integer companyId;
|
||||||
|
private String companyName;
|
||||||
|
private BlackReasonType type;
|
||||||
|
private String applyName;
|
||||||
|
private LocalDate applyDate;
|
||||||
|
private LocalDate updateTime;
|
||||||
|
private LocalDate createTime;
|
||||||
|
private LocalDate includeDate;
|
||||||
|
private String blackReason;
|
||||||
|
private String description;
|
||||||
|
private String key;
|
||||||
|
}
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
package com.ecep.contract.vo;
|
||||||
|
|
||||||
|
import com.ecep.contract.model.IdentityEntity;
|
||||||
|
import com.ecep.contract.model.NamedEntity;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
import lombok.Data;
|
||||||
|
|
||||||
|
@Data
|
||||||
|
public class CompanyContactVo implements IdentityEntity, NamedEntity {
|
||||||
|
private Integer id;
|
||||||
|
private Integer companyId;
|
||||||
|
private String companyName;
|
||||||
|
private String name;
|
||||||
|
private String position;
|
||||||
|
private String phone;
|
||||||
|
private String email;
|
||||||
|
private String address;
|
||||||
|
private String u8Code;
|
||||||
|
private String memo;
|
||||||
|
private LocalDate created;
|
||||||
|
private boolean primary = false;
|
||||||
|
private String description;
|
||||||
|
private boolean active = false;
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user