团队作业
Posted Zwyooo
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了团队作业相关的知识,希望对你有一定的参考价值。
社团
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;
}
}
以上是关于团队作业的主要内容,如果未能解决你的问题,请参考以下文章