142 lines
3.4 KiB
Java
142 lines
3.4 KiB
Java
package com.gxwebsoft.bszx.entity;
|
|
|
|
import java.math.BigDecimal;
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
import java.time.LocalDate;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableLogic;
|
|
import java.io.Serializable;
|
|
import java.util.Date;
|
|
|
|
import com.gxwebsoft.cms.entity.CmsArticle;
|
|
import com.gxwebsoft.shop.entity.ShopOrder;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.Data;
|
|
import lombok.EqualsAndHashCode;
|
|
|
|
/**
|
|
* 百色中学-捐款记录
|
|
*
|
|
* @author 科技小王子
|
|
* @since 2025-03-06 22:50:25
|
|
*/
|
|
@Data
|
|
@EqualsAndHashCode(callSuper = false)
|
|
@Schema(name = "BszxPay对象", description = "百色中学-捐款记录")
|
|
public class BszxPay implements Serializable {
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
@Schema(description = "ID")
|
|
@TableId(value = "id", type = IdType.AUTO)
|
|
private Integer id;
|
|
|
|
@Schema(description = "年龄")
|
|
private Integer age;
|
|
|
|
@Schema(description = "姓名")
|
|
private String name;
|
|
|
|
@Schema(description = "性别 1男 2女")
|
|
private String sex;
|
|
|
|
@Schema(description = "手机号码")
|
|
private String phone;
|
|
|
|
@Schema(description = "手机号码")
|
|
@TableField(exist = false)
|
|
private String mobile;
|
|
|
|
@Schema(description = "分部")
|
|
private String branchName;
|
|
|
|
@Schema(description = "班级")
|
|
private String className;
|
|
|
|
@Schema(description = "年级")
|
|
private String gradeName;
|
|
|
|
@Schema(description = "居住地址")
|
|
private String address;
|
|
|
|
@Schema(description = "工作单位")
|
|
private String workUnit;
|
|
|
|
@Schema(description = "职务")
|
|
private String position;
|
|
|
|
@Schema(description = "数量")
|
|
private Integer number;
|
|
|
|
@Schema(description = "付费金额")
|
|
private BigDecimal price;
|
|
|
|
@Schema(description = "额外信息")
|
|
private String extra;
|
|
|
|
@Schema(description = "订单编号")
|
|
private String orderNo;
|
|
|
|
@Schema(description = "预定日期")
|
|
private LocalDate dateTime;
|
|
|
|
@Schema(description = "捐赠证书")
|
|
private String certificate;
|
|
|
|
@Schema(description = "表单数据")
|
|
private String formData;
|
|
|
|
@Schema(description = "来源表ID")
|
|
private Integer formId;
|
|
|
|
@Schema(description = "活动名称")
|
|
@TableField(exist = false)
|
|
private String formName;
|
|
|
|
@Schema(description = "用户ID")
|
|
private Integer userId;
|
|
|
|
@Schema(description = "昵称")
|
|
@TableField(exist = false)
|
|
private String nickname;
|
|
|
|
@Schema(description = "头像")
|
|
@TableField(exist = false)
|
|
private String avatar;
|
|
|
|
@Schema(description = "排序(数字越小越靠前)")
|
|
private Integer sortNumber;
|
|
|
|
@Schema(description = "备注")
|
|
private String comments;
|
|
|
|
@Schema(description = "状态, 0正常, 1冻结")
|
|
private Integer status;
|
|
|
|
@Schema(description = "是否删除, 0否, 1是")
|
|
@TableLogic
|
|
private Integer deleted;
|
|
|
|
@Schema(description = "租户id")
|
|
private Integer tenantId;
|
|
|
|
@Schema(description = "创建时间")
|
|
private Date createTime;
|
|
|
|
@Schema(description = "文章")
|
|
@TableField(exist = false)
|
|
private CmsArticle article;
|
|
|
|
@Schema(description = "订单")
|
|
@TableField(exist = false)
|
|
private ShopOrder shopOrder;
|
|
|
|
public String getSexName() {
|
|
return this.sex.equals("1") ? "男" : "女";
|
|
}
|
|
|
|
}
|