| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140 |
- package space.anyi.serve.entity.problem;
- import com.baomidou.mybatisplus.annotation.IdType;
- import com.baomidou.mybatisplus.annotation.TableField;
- import com.baomidou.mybatisplus.annotation.TableId;
- import com.baomidou.mybatisplus.annotation.TableName;
- import java.time.LocalDateTime;
- @TableName("dev.problem")
- public class Problem {
- @TableId(type = IdType.AUTO)
- private Long id;
- private String title;
- private String description;
- @TableField("time_limit_ms")
- private Integer timeLimitMs;
- @TableField("memory_limit_mb")
- private Integer memoryLimitMb;
- @TableField("try_count")
- private Long tryCount;
- @TableField("accepted_count")
- private Long acceptedCount;
- @TableField("is_public")
- private Integer isPublic;
- private String difficulty;
- @TableField("created_by")
- private Long createdBy;
- @TableField("delete_flag")
- private Integer deleteFlag = 0;
- @TableField("created_at")
- private LocalDateTime createdAt;
- @TableField("updated_at")
- private LocalDateTime updatedAt;
- public Long getId() {
- return id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public String getTitle() {
- return title;
- }
- public void setTitle(String title) {
- this.title = title;
- }
- public String getDescription() {
- return description;
- }
- public void setDescription(String description) {
- this.description = description;
- }
- public Integer getTimeLimitMs() {
- return timeLimitMs;
- }
- public void setTimeLimitMs(Integer timeLimitMs) {
- this.timeLimitMs = timeLimitMs;
- }
- public Integer getMemoryLimitMb() {
- return memoryLimitMb;
- }
- public void setMemoryLimitMb(Integer memoryLimitMb) {
- this.memoryLimitMb = memoryLimitMb;
- }
- public Long getTryCount() {
- return tryCount;
- }
- public void setTryCount(Long tryCount) {
- this.tryCount = tryCount;
- }
- public Long getAcceptedCount() {
- return acceptedCount;
- }
- public void setAcceptedCount(Long acceptedCount) {
- this.acceptedCount = acceptedCount;
- }
- public Integer getIsPublic() {
- return isPublic;
- }
- public void setIsPublic(Integer isPublic) {
- this.isPublic = isPublic;
- }
- public String getDifficulty() {
- return difficulty;
- }
- public void setDifficulty(String difficulty) {
- this.difficulty = difficulty;
- }
- public Long getCreatedBy() {
- return createdBy;
- }
- public void setCreatedBy(Long createdBy) {
- this.createdBy = createdBy;
- }
- public Integer getDeleteFlag() {
- return deleteFlag;
- }
- public void setDeleteFlag(Integer deleteFlag) {
- this.deleteFlag = deleteFlag;
- }
- public LocalDateTime getCreatedAt() {
- return createdAt;
- }
- public void setCreatedAt(LocalDateTime createdAt) {
- this.createdAt = createdAt;
- }
- public LocalDateTime getUpdatedAt() {
- return updatedAt;
- }
- public void setUpdatedAt(LocalDateTime updatedAt) {
- this.updatedAt = updatedAt;
- }
- }
|