package com.ltkj.hosp.domain; import java.math.BigDecimal; import java.util.Date; import com.fasterxml.jackson.annotation.JsonFormat; import com.ltkj.common.annotation.Excel; import com.ltkj.common.core.domain.BaseEntity; import org.apache.commons.lang3.builder.ToStringBuilder; import org.apache.commons.lang3.builder.ToStringStyle; /** * 小程序预约下单对象 tj_app_order * * @author ltkj_赵佳豪&李格 * @date 2023-05-18 */ public class TjAppOrder extends BaseEntity { private static final long serialVersionUID = 1L; /** * $column.columnComment */ private Long id; /** * 用户编号 */ @Excel(name = "用户编号") private Long userId; /** * 订单状态 */ @Excel(name = "订单状态") private String orderStatus; /** * 售后状态 */ @Excel(name = "售后状态") private String aftersaleStatus; /** * 体检人姓名 */ @Excel(name = "体检人姓名") private String person; /** * 体检人联系方式 */ @Excel(name = "体检人联系方式") private String mobile; /** * 套餐Id */ @Excel(name = "套餐Id") private Long pacid; /** * 项目Id集合 */ @Excel(name = "项目Id集合") private String proids; /** * 套餐名 */ @Excel(name = "套餐名") private String pacname; /** * 订单金额 */ @Excel(name = "订单金额") private BigDecimal orderPrice; /** * 实付金额 */ @Excel(name = "实付金额") private BigDecimal actualPrice; /** * 下单编号 */ @Excel(name = "下单编号") private String payId; /** * 下单时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "下单时间", width = 30, dateFormat = "yyyy-MM-dd") private Date payTime; /** * 退款金额 */ @Excel(name = "退款金额") private BigDecimal refundPrice; /** * 退款状态 */ @Excel(name = "退款状态") private String refundStatus; /** * 退款备注 */ @Excel(name = "退款备注") private String refundContent; /** * 退款时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "退款时间", width = 30, dateFormat = "yyyy-MM-dd") private Date refundTime; /** * 预约时间 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "预约时间", width = 30, dateFormat = "yyyy-MM-dd") private Date reservationTime; /** * 时间区间 */ @Excel(name = "时间区间") private Long timeRegion; /** * 是否到期(2未过期1已过期) */ @Excel(name = "是否到期(2未过期1已过期)") private Long isExpire; /** * 性别 */ @Excel(name = "性别") private Long sex; /** * 年龄单位 */ @Excel(name = "年龄单位") private String ageUnit; /** * 年龄 */ @Excel(name = "年龄") private String age; /** * 证件类型 */ @Excel(name = "证件类型") private String idType; /** * 身份证号 */ @Excel(name = "身份证号") private String idCard; /** * 出生日期 */ @JsonFormat(pattern = "yyyy-MM-dd") @Excel(name = "出生日期", width = 30, dateFormat = "yyyy-MM-dd") private Date birthday; /** * 邮箱 */ @Excel(name = "邮箱") private String email; /** * 地址 */ @Excel(name = "地址") private String address; /** * 婚姻 */ @Excel(name = "婚姻") private Long marriage; /** * 民族 */ @Excel(name = "民族") private Long nation; /** * 职业 */ @Excel(name = "职业") private String career; public void setId(Long id) { this.id = id; } public Long getId() { return id; } public void setUserId(Long userId) { this.userId = userId; } public Long getUserId() { return userId; } public void setOrderStatus(String orderStatus) { this.orderStatus = orderStatus; } public String getOrderStatus() { return orderStatus; } public void setAftersaleStatus(String aftersaleStatus) { this.aftersaleStatus = aftersaleStatus; } public String getAftersaleStatus() { return aftersaleStatus; } public void setPerson(String person) { this.person = person; } public String getPerson() { return person; } public void setMobile(String mobile) { this.mobile = mobile; } public String getMobile() { return mobile; } public void setPacid(Long pacid) { this.pacid = pacid; } public Long getPacid() { return pacid; } public void setProids(String proids) { this.proids = proids; } public String getProids() { return proids; } public void setPacname(String pacname) { this.pacname = pacname; } public String getPacname() { return pacname; } public void setOrderPrice(BigDecimal orderPrice) { this.orderPrice = orderPrice; } public BigDecimal getOrderPrice() { return orderPrice; } public void setActualPrice(BigDecimal actualPrice) { this.actualPrice = actualPrice; } public BigDecimal getActualPrice() { return actualPrice; } public void setPayId(String payId) { this.payId = payId; } public String getPayId() { return payId; } public void setPayTime(Date payTime) { this.payTime = payTime; } public Date getPayTime() { return payTime; } public void setRefundPrice(BigDecimal refundPrice) { this.refundPrice = refundPrice; } public BigDecimal getRefundPrice() { return refundPrice; } public void setRefundStatus(String refundStatus) { this.refundStatus = refundStatus; } public String getRefundStatus() { return refundStatus; } public void setRefundContent(String refundContent) { this.refundContent = refundContent; } public String getRefundContent() { return refundContent; } public void setRefundTime(Date refundTime) { this.refundTime = refundTime; } public Date getRefundTime() { return refundTime; } public void setReservationTime(Date reservationTime) { this.reservationTime = reservationTime; } public Date getReservationTime() { return reservationTime; } public void setTimeRegion(Long timeRegion) { this.timeRegion = timeRegion; } public Long getTimeRegion() { return timeRegion; } public void setIsExpire(Long isExpire) { this.isExpire = isExpire; } public Long getIsExpire() { return isExpire; } public void setSex(Long sex) { this.sex = sex; } public Long getSex() { return sex; } public void setAgeUnit(String ageUnit) { this.ageUnit = ageUnit; } public String getAgeUnit() { return ageUnit; } public void setAge(String age) { this.age = age; } public String getAge() { return age; } public void setIdType(String idType) { this.idType = idType; } public String getIdType() { return idType; } public void setIdCard(String idCard) { this.idCard = idCard; } public String getIdCard() { return idCard; } public void setBirthday(Date birthday) { this.birthday = birthday; } public Date getBirthday() { return birthday; } public void setEmail(String email) { this.email = email; } public String getEmail() { return email; } public void setAddress(String address) { this.address = address; } public String getAddress() { return address; } public void setMarriage(Long marriage) { this.marriage = marriage; } public Long getMarriage() { return marriage; } public void setNation(Long nation) { this.nation = nation; } public Long getNation() { return nation; } public void setCareer(String career) { this.career = career; } public String getCareer() { return career; } @Override public String toString() { return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) .append("id", getId()) .append("userId", getUserId()) .append("orderStatus", getOrderStatus()) .append("aftersaleStatus", getAftersaleStatus()) .append("person", getPerson()) .append("mobile", getMobile()) .append("pacid", getPacid()) .append("proids", getProids()) .append("pacname", getPacname()) .append("orderPrice", getOrderPrice()) .append("actualPrice", getActualPrice()) .append("payId", getPayId()) .append("payTime", getPayTime()) .append("refundPrice", getRefundPrice()) .append("refundStatus", getRefundStatus()) .append("refundContent", getRefundContent()) .append("refundTime", getRefundTime()) .append("reservationTime", getReservationTime()) .append("timeRegion", getTimeRegion()) .append("isExpire", getIsExpire()) .append("sex", getSex()) .append("ageUnit", getAgeUnit()) .append("age", getAge()) .append("idType", getIdType()) .append("idCard", getIdCard()) .append("birthday", getBirthday()) .append("email", getEmail()) .append("address", getAddress()) .append("marriage", getMarriage()) .append("nation", getNation()) .append("career", getCareer()) .append("remark", getRemark()) .append("createTime", getCreateTime()) .append("createBy", getCreateBy()) .append("updateTime", getUpdateTime()) .append("updateBy", getUpdateBy()) .append("deleted", getDeleted()) .append("updateId", getUpdateId()) .append("createId", getCreateId()) .toString(); } }