• 团队作业


    社团

    package com.atguigu.crud.bean;

    import java.util.Date;

    import org.springframework.format.annotation.DateTimeFormat;

    import com.fasterxml.jackson.annotation.JsonFormat;

    public class Club {
    private Long id;

    private String name;

    private String logo;

    private Byte type_id;
    private Clubtype type;
    private String introduce;

    public Clubtype getType() {
    return type;
    }

    public void setType(Clubtype type) {
    this.type = type;
    }

    private String slogan;

    private String purpose;

    private String group_code;

    private String remark;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date create_time;

    private String user_name;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date update_time;

    public Long getId() {
    return id;
    }

    public void setId(Long id) {
    this.id = id;
    }

    public Club() {
    super();

    }

    public Club(Long id, String name, String logo, Byte type_id, String introduce, String slogan, String purpose,
    String group_code, String remark, Date create_time, String user_name, Date update_time) {
    super();
    this.id = id;
    this.name = name;
    this.logo = logo;
    this.type_id = type_id;
    this.introduce = introduce;
    this.slogan = slogan;
    this.purpose = purpose;
    this.group_code = group_code;
    this.remark = remark;
    this.create_time = create_time;
    this.user_name = user_name;
    this.update_time = update_time;
    }

    public String getName() {
    return name;
    }

    public void setName(String name) {
    this.name = name;
    }

    public String getLogo() {
    return logo;
    }

    public void setLogo(String logo) {
    this.logo = logo == null ? null : logo.trim();
    }

    public Byte getType_id() {
    return type_id;
    }

    public void setType_id(Byte type_id) {
    this.type_id = type_id;
    }

    public String getIntroduce() {
    return introduce;
    }

    public void setIntroduce(String introduce) {
    this.introduce = introduce == null ? null : introduce.trim();
    }

    public String getSlogan() {
    return slogan;
    }

    public void setSlogan(String slogan) {
    this.slogan = slogan == null ? null : slogan.trim();
    }

    public String getPurpose() {
    return purpose;
    }

    public void setPurpose(String purpose) {
    this.purpose = purpose == null ? null : purpose.trim();
    }

    public String getGroup_code() {
    return group_code;
    }

    public void setGroup_code(String group_code) {
    this.group_code = group_code == null ? null : group_code.trim();
    }

    public String getRemark() {
    return remark;
    }

    public void setRemark(String remark) {
    this.remark = remark == null ? null : remark.trim();
    }

    public Date getCreate_time() {
    return create_time;
    }

    public void setCreate_time(Date create_time) {
    this.create_time = create_time;
    }

    public String getUser_name() {
    return user_name;
    }

    public void setUser_name(String user_name) {
    this.user_name = user_name == null ? null : user_name.trim();
    }

    public Date getUpdate_time() {
    return update_time;
    }

    public void setUpdate_time(Date update_time) {
    this.update_time = update_time;
    }
    }

  • 相关阅读:
    Mint13的人性化改造
    [51单片机]18b20驱动函数
    应用三菱GX Developer编程软件编写SFC顺序功能图的方法
    [MATLAB]all()函数的使用
    基于RaspberryPi和Python的智能远程控制原型
    《哈佛大学公开课:幸福课》学习笔记(2)
    《哈佛大学公开课:幸福课》学习笔记(3)
    How to create a custom Ubuntu live from scratch
    网络3
    7/13/2021python 核心编程020215
  • 原文地址:https://www.cnblogs.com/9635741zly/p/14916611.html
Copyright © 2020-2023  润新知