| | |
| | | package com.dy.pipIrrGlobal.pojoSe; |
| | | |
| | | import com.alibaba.fastjson2.annotation.JSONField; |
| | | import com.alibaba.fastjson2.writer.ObjectWriterImplToString; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.baomidou.mybatisplus.annotation.TableName; |
| | | import com.dy.common.po.BaseEntity; |
| | | import io.swagger.v3.oas.annotations.media.Schema; |
| | | import jakarta.validation.constraints.Max; |
| | | import jakarta.validation.constraints.Min; |
| | | import jakarta.validation.constraints.Positive; |
| | | import lombok.*; |
| | | import org.hibernate.validator.constraints.Length; |
| | | |
| | | import java.util.Date; |
| | | |
| | | /** |
| | |
| | | * @LastEditTime 2023/12/7 9:06 |
| | | * @Description |
| | | */ |
| | | |
| | | /** |
| | | * 开卡/补卡历史表 |
| | | */ |
| | | public class SeActiveCardHistory { |
| | | * 开卡/补卡历史表 |
| | | */ |
| | | |
| | | @TableName(value="se_active_card_history", autoResultMap = true) |
| | | @Data |
| | | @Builder |
| | | @ToString |
| | | @NoArgsConstructor |
| | | @AllArgsConstructor |
| | | @Schema(name = "开卡/补卡历史实体") |
| | | public class SeActiveCardHistory implements BaseEntity { |
| | | public static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * 主键 |
| | | */ |
| | | * 主键 |
| | | */ |
| | | @JSONField(serializeUsing= ObjectWriterImplToString.class) |
| | | @TableId(type = IdType.INPUT) |
| | | @Schema(description = "实体id", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 水卡编号 |
| | | */ |
| | | * 水卡编号 |
| | | */ |
| | | @Schema(description = "水卡编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "水卡编号不小于{min}", min = 1) |
| | | private Long cardid; |
| | | |
| | | /** |
| | | * 卡片费用 |
| | | */ |
| | | * 卡片费用 |
| | | */ |
| | | @Schema(description = "卡片费用", requiredMode = Schema.RequiredMode.REQUIRED) |
| | | @Length(message = "卡片费用不小于{min}字", min = 1) |
| | | private Integer cardcost; |
| | | |
| | | /** |
| | | * 付款方式编号 |
| | | */ |
| | | * 付款方式编号 |
| | | */ |
| | | @Schema(description = "付款方式编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "付款方式编号不大于{max},不小于{min}", min = 1, max = 4) |
| | | private Long paymentid; |
| | | |
| | | /** |
| | | * 补卡金额 |
| | | */ |
| | | * 补卡金额 |
| | | */ |
| | | @Schema(description = "补卡金额", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "补卡金额不小于{min}", min = 0) |
| | | private Double reissueamount; |
| | | |
| | | /** |
| | | * 操作类型;1-开卡,2-补卡 |
| | | */ |
| | | * 操作类型;1-开卡,2-补卡 |
| | | */ |
| | | @Schema(description = "操作类型", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Max(message = "操作类型只能1或2", value = 2) |
| | | @Min(message = "操作类型只能1或2",value = 1) |
| | | private Byte operatetype; |
| | | |
| | | /** |
| | | * 备注信息 |
| | | */ |
| | | * 备注信息 |
| | | */ |
| | | @Schema(description = "备注", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Length(message = "备注长度小于{max}字", min = 1, max = 200) |
| | | private String remarks; |
| | | |
| | | /** |
| | | * 操作人编号 |
| | | */ |
| | | * 操作人编号 |
| | | */ |
| | | @Schema(description = "操作人编号", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | @Positive(message = "操作人编号必须为大于0的整数") |
| | | private Long operator; |
| | | |
| | | /** |
| | | * 操作时间 |
| | | */ |
| | | * 操作时间 |
| | | */ |
| | | @Schema(description = "操作时间", requiredMode = Schema.RequiredMode.NOT_REQUIRED) |
| | | private Date operatedt; |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public Long getCardid() { |
| | | return cardid; |
| | | } |
| | | |
| | | public void setCardid(Long cardid) { |
| | | this.cardid = cardid; |
| | | } |
| | | |
| | | public Integer getCardcost() { |
| | | return cardcost; |
| | | } |
| | | |
| | | public void setCardcost(Integer cardcost) { |
| | | this.cardcost = cardcost; |
| | | } |
| | | |
| | | public Long getPaymentid() { |
| | | return paymentid; |
| | | } |
| | | |
| | | public void setPaymentid(Long paymentid) { |
| | | this.paymentid = paymentid; |
| | | } |
| | | |
| | | public Double getReissueamount() { |
| | | return reissueamount; |
| | | } |
| | | |
| | | public void setReissueamount(Double reissueamount) { |
| | | this.reissueamount = reissueamount; |
| | | } |
| | | |
| | | public Byte getOperatetype() { |
| | | return operatetype; |
| | | } |
| | | |
| | | public void setOperatetype(Byte operatetype) { |
| | | this.operatetype = operatetype; |
| | | } |
| | | |
| | | public String getRemarks() { |
| | | return remarks; |
| | | } |
| | | |
| | | public void setRemarks(String remarks) { |
| | | this.remarks = remarks; |
| | | } |
| | | |
| | | public Long getOperator() { |
| | | return operator; |
| | | } |
| | | |
| | | public void setOperator(Long operator) { |
| | | this.operator = operator; |
| | | } |
| | | |
| | | public Date getOperatedt() { |
| | | return operatedt; |
| | | } |
| | | |
| | | public void setOperatedt(Date operatedt) { |
| | | this.operatedt = operatedt; |
| | | } |
| | | } |