|
@@ -0,0 +1,121 @@
|
|
|
+package com.miaxis.birthday.domain;
|
|
|
+
|
|
|
+import java.util.Date;
|
|
|
+import com.fasterxml.jackson.annotation.JsonFormat;
|
|
|
+import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
+import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
+import com.miaxis.common.annotation.Excel;
|
|
|
+import com.miaxis.common.core.domain.BaseEntity;
|
|
|
+import io.swagger.annotations.ApiModel;
|
|
|
+import io.swagger.annotations.ApiModelProperty;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
+import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
+import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
+import com.miaxis.common.core.domain.BaseBusinessEntity;
|
|
|
+import lombok.Data;
|
|
|
+/**
|
|
|
+ * 查询记录对象 birthday_log
|
|
|
+ *
|
|
|
+ * @author miaxis
|
|
|
+ * @date 2023-12-11
|
|
|
+ */
|
|
|
+@Data
|
|
|
+@TableName("birthday_log")
|
|
|
+@ApiModel(value = "BirthdayLog", description = "查询记录对象 birthday_log")
|
|
|
+public class BirthdayLog extends BaseBusinessEntity{
|
|
|
+ private static final long serialVersionUID = 1L;
|
|
|
+
|
|
|
+ /** $column.columnComment */
|
|
|
+ @TableId(value = "id")
|
|
|
+ @ApiModelProperty(value = "$column.columnComment")
|
|
|
+ private Long id;
|
|
|
+
|
|
|
+ /** 查询姓名 */
|
|
|
+ @Excel(name = "查询姓名")
|
|
|
+ @TableField("name")
|
|
|
+ @ApiModelProperty(value = "查询姓名")
|
|
|
+ private String name;
|
|
|
+
|
|
|
+ /** 性别 */
|
|
|
+ @Excel(name = "性别")
|
|
|
+ @TableField("sex")
|
|
|
+ @ApiModelProperty(value = "性别")
|
|
|
+ private String sex;
|
|
|
+
|
|
|
+ /** 生日 */
|
|
|
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
|
|
|
+ @TableField("birthday")
|
|
|
+ @ApiModelProperty(value = "生日")
|
|
|
+ private Date birthday;
|
|
|
+
|
|
|
+ /** 查询用户ID */
|
|
|
+ @Excel(name = "查询用户ID")
|
|
|
+ @TableField("user_id")
|
|
|
+ @ApiModelProperty(value = "查询用户ID")
|
|
|
+ private Long userId;
|
|
|
+
|
|
|
+ /** 是否付费 0:未付费 1:基础版 2:高级版 */
|
|
|
+ @Excel(name = "是否付费 0:未付费 1:基础版 2:高级版")
|
|
|
+ @TableField("is_pay")
|
|
|
+ @ApiModelProperty(value = "是否付费 0:未付费 1:基础版 2:高级版")
|
|
|
+ private Long isPay;
|
|
|
+
|
|
|
+ public void setId(Long id){
|
|
|
+ this.id = id;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getId(){
|
|
|
+ return id;
|
|
|
+ }
|
|
|
+ public void setName(String name){
|
|
|
+ this.name = name;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getName(){
|
|
|
+ return name;
|
|
|
+ }
|
|
|
+ public void setSex(String sex){
|
|
|
+ this.sex = sex;
|
|
|
+ }
|
|
|
+
|
|
|
+ public String getSex(){
|
|
|
+ return sex;
|
|
|
+ }
|
|
|
+ public void setBirthday(Date birthday){
|
|
|
+ this.birthday = birthday;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Date getBirthday(){
|
|
|
+ return birthday;
|
|
|
+ }
|
|
|
+ public void setUserId(Long userId){
|
|
|
+ this.userId = userId;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getUserId(){
|
|
|
+ return userId;
|
|
|
+ }
|
|
|
+ public void setIsPay(Long isPay){
|
|
|
+ this.isPay = isPay;
|
|
|
+ }
|
|
|
+
|
|
|
+ public Long getIsPay(){
|
|
|
+ return isPay;
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public String toString() {
|
|
|
+ return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
|
|
+ .append("id", getId())
|
|
|
+ .append("name", getName())
|
|
|
+ .append("sex", getSex())
|
|
|
+ .append("birthday", getBirthday())
|
|
|
+ .append("userId", getUserId())
|
|
|
+ .append("isPay", getIsPay())
|
|
|
+ .append("createTime", getCreateTime())
|
|
|
+ .append("updateTime", getUpdateTime())
|
|
|
+ .toString();
|
|
|
+ }
|
|
|
+}
|