• 高级软件工程第七次作业:LLS战队Alpha敏捷冲刺3


    召开迭代会议

    会议内容:汇报工作进度,对疑难问题共同弄解决,强调团队合作。

    分配任务:

        宋非:activity,competitor,audiencescoring等表的改进,并编写model代码。

        罗建彪:itemform,judgeform,judgeform等表改进,并编写model代码。

        罗远云:timing,userform,viewform等表的改进,并编写model代码。

    任务分解图

    燃尽图

    部分代码记录:

     

    package com.ms.model;
    
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.GeneratedValue;
    import static javax.persistence.GenerationType.IDENTITY;
    import javax.persistence.Id;
    import javax.persistence.Table;
    
    /**
     * Activityform entity. @author MyEclipse Persistence Tools
     */
    @Entity
    @Table(name = "activityform", catalog = "markingsystem")
    public class Activityform implements java.io.Serializable {
    
        // Fields
    
        private Integer activityId; //活动ID
        private String activityName;//活动名称
        private String activityTime;//活动创建时间
        private String activityAbstract;//活动相关描述
        private Integer isStart;//是否启动标志[0:未启动  ,  1:已启动]
        private String code;//活动邀请码
        private Double weight;//本次活动观众打分占比
    
        // Constructors
    
        /** default constructor */
        public Activityform() {
        }
    
        /** full constructor */
        public Activityform(String activityName, String activityTime,
                String activityAbstract, Integer isStart, String code, Double weight) {
            this.activityName = activityName;
            this.activityTime = activityTime;
            this.activityAbstract = activityAbstract;
            this.isStart = isStart;
            this.code = code;
            this.weight = weight;
        }
    
        // Property accessors
        @Id
        @GeneratedValue(strategy = IDENTITY)
        @Column(name = "activity_id", unique = true, nullable = false)
        public Integer getActivityId() {
            return this.activityId;
        }
    
        public void setActivityId(Integer activityId) {
            this.activityId = activityId;
        }
    
        @Column(name = "activity_name", length = 20)
        public String getActivityName() {
            return this.activityName;
        }
    
        public void setActivityName(String activityName) {
            this.activityName = activityName;
        }
    
        @Column(name = "activity_time", length = 20)
        public String getActivityTime() {
            return this.activityTime;
        }
    
        public void setActivityTime(String activityTime) {
            this.activityTime = activityTime;
        }
    
        @Column(name = "activity_abstract", length = 200)
        public String getActivityAbstract() {
            return this.activityAbstract;
        }
    
        public void setActivityAbstract(String activityAbstract) {
            this.activityAbstract = activityAbstract;
        }
    
        @Column(name = "isStart")
        public Integer getIsStart() {
            return this.isStart;
        }
    
        public void setIsStart(Integer isStart) {
            this.isStart = isStart;
        }
    
        @Column(name = "code", length = 12)
        public String getCode() {
            return this.code;
        }
    
        public void setCode(String code) {
            this.code = code;
        }
    
        @Column(name = "weight", precision = 5)
        public Double getWeight() {
            return this.weight;
        }
    
        public void setWeight(Double weight) {
            this.weight = weight;
        }
    
        @Override
        public String toString() {
            return "Activityform [activityId=" + activityId + ", activityName="
                    + activityName + ", activityTime=" + activityTime
                    + ", activityAbstract=" + activityAbstract + ", isStart="
                    + isStart + ", code=" + code + ", weight=" + weight + "]";
        }
    
    }
  • 相关阅读:
    Java基础:基本类型
    完全干净的卸载VS2013
    git本地仓库首次push到远程仓库出现错误 ! [rejected] master -> master (fetch first)
    运行VS出现warning C4996错误的解决办法
    xbmc-android的编译
    linux执行sh,出现/bin/sh^M: bad interpreter: No such file or directory
    Ubuntu配置android-vlc编译环境(2015-11-05)
    a80修改默认4k输出,官方代码锁死了
    ubuntu12.04平台下a80编译环境搭建
    编译java代码出现 错误: 需要class, interface或enum 提示
  • 原文地址:https://www.cnblogs.com/gordonsong/p/10020150.html
Copyright © 2020-2023  润新知