Procházet zdrojové kódy

更新portal相关功能

master
梁超 před 3 měsíci
rodič
revize
29ff500219

+ 144
- 0
gly-base-core/src/main/java/cn/com/taiji/core/entity/comm/IawVehicleBind.java Zobrazit soubor

@@ -0,0 +1,144 @@
package cn.com.taiji.core.entity.comm;

import cn.com.taiji.core.entity.AbstractStringPropertyUUIDEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
* @Auther: humh
* @Description:
* @Date: 2025/4/15 10:23
* @email: huminghao@mail.taiji.com.cn
* @version: 1.0
*/

@Entity
@Table(name = "IAW_VEHICLE_BIND")
public class IawVehicleBind extends AbstractStringPropertyUUIDEntity {

/** 车牌号+颜色 */
private String vehicleId;
/** 车牌号 */
private String vehiclePlate;
/** 车牌颜色 */
private String vehiclePlateColor;
/** etc卡号 */
private String cardId;
/** 卡类型1-记账卡 2-储值卡 3-预存卡 */
private Integer cardType;
/** 用户账号openId,关联USER_ACCOUNT_INFO表 */
private String openId;
/** 绑定状态,默认1-绑定 2-解除 */
private Integer bindStatus;
/** 绑定时间 */
private LocalDateTime bindTime;
/** 解绑时间 */
private LocalDateTime UnbindTime;
/** 发行成功后的自动绑定,默认是,1-是 0-否 */
private Boolean autoBind;
/** 实际操作人openId,他人激活或者业务员激活时此字段和account_id不一致 */
private String operaterId;


@Column(name = "VEHICLE_ID")
public String getVehicleId() {
return vehicleId;
}

public void setVehicleId(String vehicleId) {
this.vehicleId = vehicleId;
}

@Column(name = "VEHICLE_PLATE")
public String getVehiclePlate() {
return vehiclePlate;
}

public void setVehiclePlate(String vehiclePlate) {
this.vehiclePlate = vehiclePlate;
}

@Column(name = "VEHICLE_PLATE_COLOR")
public String getVehiclePlateColor() {
return vehiclePlateColor;
}

public void setVehiclePlateColor(String vehiclePlateColor) {
this.vehiclePlateColor = vehiclePlateColor;
}

@Column(name = "CARD_ID")
public String getCardId() {
return cardId;
}

public void setCardId(String cardId) {
this.cardId = cardId;
}

@Column(name = "CARD_TYPE")
public Integer getCardType() {
return cardType;
}

public void setCardType(Integer cardType) {
this.cardType = cardType;
}

@Column(name = "OPEN_ID")
public String getOpenId() {
return openId;
}

public void setOpenId(String openId) {
this.openId = openId;
}

@Column(name = "BIND_STATUS")
public Integer getBindStatus() {
return bindStatus;
}

public void setBindStatus(Integer bindStatus) {
this.bindStatus = bindStatus;
}

@Column(name = "BIND_TIME")
public LocalDateTime getBindTime() {
return bindTime;
}

public void setBindTime(LocalDateTime bindTime) {
this.bindTime = bindTime;
}

@Column(name = "UNBIND_TIME")
public LocalDateTime getUnbindTime() {
return UnbindTime;
}

public void setUnbindTime(LocalDateTime unbindTime) {
UnbindTime = unbindTime;
}

@Column(name = "AUTO_BIND")
public Boolean getAutoBind() {
return autoBind;
}

public void setAutoBind(Boolean autoBind) {
this.autoBind = autoBind;
}

@Column(name = "OPERATER_ID")
public String getOperaterId() {
return operaterId;
}

public void setOperaterId(String operaterId) {
this.operaterId = operaterId;
}
}

+ 66
- 0
gly-base-core/src/main/java/cn/com/taiji/core/entity/issue/IssueOrderAddress.java Zobrazit soubor

@@ -0,0 +1,66 @@
package cn.com.taiji.core.entity.issue;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

import javax.persistence.*;
import javax.validation.constraints.Digits;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import cn.com.taiji.common.entity.StringPropertyUUIDEntity;
import lombok.Getter;
import lombok.Setter;


/**
* 地址管理
* @author : qiubh
* @date : 2025-04-30
*/
@Getter
@Setter
@Entity
@Table(name = "ISSUE_ORDER_ADDRESS")
public class IssueOrderAddress extends StringPropertyUUIDEntity {

@NotBlank
@Size(max = 100)
@Column(name = "OPEN_ID")
private String openId;//微信OPEN_ID
@NotBlank
@Size(max = 50)
@Column(name = "CONSIGNEE")
private String consignee;//收货人
@NotBlank
@Size(max = 32)
@Column(name = "CONSIGNEE_TEL")
private String consigneeTel;//收货人手机号
@NotBlank
@Size(max = 255)
@Column(name = "REGION")
private String region;//所在地区(省、市、区、街道)
@NotBlank
@Size(max = 400)
@Column(name = "ADDRESS")
private String address;//详细地址
@Size(max = 50)
@Column(name = "POSTAL_CODE")
private String postalCode;//邮政编码
@NotNull
@Digits(integer=0,fraction=-127)
@Column(name = "DEFAULT_ADDRESS")
private BigDecimal defaultAddress;//是否为默认地址
@NotBlank
@Column(name = "STATUS")
private Integer status;//状态 0-删除 1-正常
@NotNull
@Column(name = "INSERT_TIME")
private LocalDateTime insertTime;//创建时间
@NotNull
@Column(name = "UPDATE_TIME")
private LocalDateTime updateTime;//更新时间

}

Načítá se…
Zrušit
Uložit