Bladeren bron

激活记录

master
qiubh 1 maand geleden
bovenliggende
commit
6f980d157b
1 gewijzigde bestanden met toevoegingen van 65 en 0 verwijderingen
  1. 65
    0
      gly-base-core/src/main/java/cn/com/taiji/core/entity/managew/ActiveRecord.java

+ 65
- 0
gly-base-core/src/main/java/cn/com/taiji/core/entity/managew/ActiveRecord.java Bestand weergeven

@@ -0,0 +1,65 @@
package cn.com.taiji.core.entity.managew;

import cn.com.taiji.common.entity.StringPropertyUUIDEntity;
import cn.com.taiji.core.entity.dict.basic.CardType;
import cn.com.taiji.core.entity.dict.basic.SourceType;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;


/**
* 激活记录
* @author : qiubh
* @date : 2025-04-30
*/
@Getter
@Setter
@Entity
@Table(name = "MANAGEW_ACTIVE_RECORD")
public class ActiveRecord extends StringPropertyUUIDEntity {

@Column(name = "OPEN_ID")
private String openId;//openId
@NotNull
@Column(name = "OPEN_ID")
private Integer type;// 类型1-本人激活 2-他人激活
@Column(name = "ORDER_SOURCE")
@Enumerated(EnumType.STRING)
private SourceType sourceType;//来源
@NotBlank
@Column(name = "VEHICLE_ID")
private String vehicleId;//车牌号_颜色
@NotBlank
@Column(name = "VEHICLE_PLATE")
private String vehiclePlate;//车牌号
@NotBlank
@Column(name = "VEHICLE_PLATE_COLOR")
private String vehiclePlateColor;//车牌颜色
@NotBlank
@Column(name = "CARD_ID")
private String cardId;// etc卡号
@NotNull
@Enumerated(EnumType.STRING)
@Column(name = "CARD_TYPE")
private CardType cardType;//卡类型
@NotBlank
@Column(name = "CARD_ID")
private String obuId;// OBU号
@NotNull
@Column(name = "ACTIVE_TIME")
private LocalDateTime activeTime;//激活时间
@NotNull
@Column(name = "STATUS")
private Integer resetStatus;//状态 0-未重置 1-已重置
@NotNull
@Column(name = "RESET_TIME")
private LocalDateTime resetTime;//更新时间
@Column(name = "RESET_OPEN_ID")
private String resetOpenId;//openId

}

Laden…
Annuleren
Opslaan