AssetGroup.java 5.67 KB
Newer Older
1
package pwc.taxtech.atms.entity;
2 3 4 5 6 7 8

import java.io.Serializable;
import java.util.Date;

/**
 *
 * This class was generated by MyBatis Generator.
gary's avatar
gary committed
9
 * This class corresponds to the database table asset_group
10 11 12
 *
 * @mbg.generated do_not_delete_during_merge
 */
gary's avatar
gary committed
13
public class AssetGroup extends BaseEntity implements Serializable {
14 15 16
    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
17
     * This field corresponds to the database column asset_group.id
18 19 20
     *
     * @mbg.generated
     */
gary's avatar
gary committed
21
    private Long id;
22 23

    /**
gary's avatar
gary committed
24 25
     * Database Column Remarks:
     *   资产分类一级分类名称
26 27
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
28
     * This field corresponds to the database column asset_group.asset_group_name
29 30 31
     *
     * @mbg.generated
     */
neo's avatar
neo committed
32
    private String assetGroupName;
33 34 35 36

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
37
     * This field corresponds to the database column asset_group.create_time
38 39 40
     *
     * @mbg.generated
     */
neo's avatar
neo committed
41
    private Date createTime;
42 43 44 45

    /**
     *
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
46
     * This field corresponds to the database column asset_group.update_time
47 48 49
     *
     * @mbg.generated
     */
neo's avatar
neo committed
50
    private Date updateTime;
51

gary's avatar
gary committed
52 53 54 55 56 57 58 59 60 61 62
    /**
     * Database Column Remarks:
     *   资产一级分类的类型代码
     *
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column asset_group.asset_group_type
     *
     * @mbg.generated
     */
    private Integer assetGroupType;

63 64
    /**
     * This field was generated by MyBatis Generator.
gary's avatar
gary committed
65
     * This field corresponds to the database table asset_group
66 67 68 69 70 71 72
     *
     * @mbg.generated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
73
     * This method returns the value of the database column asset_group.id
74
     *
gary's avatar
gary committed
75
     * @return the value of asset_group.id
76 77 78
     *
     * @mbg.generated
     */
gary's avatar
gary committed
79
    public Long getId() {
80 81 82 83 84
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
85
     * This method sets the value of the database column asset_group.id
86
     *
gary's avatar
gary committed
87
     * @param id the value for asset_group.id
88 89 90
     *
     * @mbg.generated
     */
gary's avatar
gary committed
91 92
    public void setId(Long id) {
        this.id = id;
93 94 95 96
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
97
     * This method returns the value of the database column asset_group.asset_group_name
98
     *
gary's avatar
gary committed
99
     * @return the value of asset_group.asset_group_name
100 101 102
     *
     * @mbg.generated
     */
neo's avatar
neo committed
103 104
    public String getAssetGroupName() {
        return assetGroupName;
105 106 107 108
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
109
     * This method sets the value of the database column asset_group.asset_group_name
110
     *
gary's avatar
gary committed
111
     * @param assetGroupName the value for asset_group.asset_group_name
112 113 114
     *
     * @mbg.generated
     */
neo's avatar
neo committed
115 116
    public void setAssetGroupName(String assetGroupName) {
        this.assetGroupName = assetGroupName == null ? null : assetGroupName.trim();
117 118 119 120
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
121
     * This method returns the value of the database column asset_group.create_time
122
     *
gary's avatar
gary committed
123
     * @return the value of asset_group.create_time
124 125 126
     *
     * @mbg.generated
     */
neo's avatar
neo committed
127 128
    public Date getCreateTime() {
        return createTime;
129 130 131 132
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
133
     * This method sets the value of the database column asset_group.create_time
134
     *
gary's avatar
gary committed
135
     * @param createTime the value for asset_group.create_time
136 137 138
     *
     * @mbg.generated
     */
neo's avatar
neo committed
139 140
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
141 142 143 144
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
145
     * This method returns the value of the database column asset_group.update_time
146
     *
gary's avatar
gary committed
147
     * @return the value of asset_group.update_time
148 149 150
     *
     * @mbg.generated
     */
neo's avatar
neo committed
151 152
    public Date getUpdateTime() {
        return updateTime;
153 154 155 156
    }

    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
157
     * This method sets the value of the database column asset_group.update_time
158
     *
gary's avatar
gary committed
159
     * @param updateTime the value for asset_group.update_time
160 161 162
     *
     * @mbg.generated
     */
neo's avatar
neo committed
163 164
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
165 166
    }

gary's avatar
gary committed
167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190
    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column asset_group.asset_group_type
     *
     * @return the value of asset_group.asset_group_type
     *
     * @mbg.generated
     */
    public Integer getAssetGroupType() {
        return assetGroupType;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column asset_group.asset_group_type
     *
     * @param assetGroupType the value for asset_group.asset_group_type
     *
     * @mbg.generated
     */
    public void setAssetGroupType(Integer assetGroupType) {
        this.assetGroupType = assetGroupType;
    }

191 192
    /**
     * This method was generated by MyBatis Generator.
gary's avatar
gary committed
193
     * This method corresponds to the database table asset_group
194 195 196 197 198 199 200 201 202 203
     *
     * @mbg.generated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
neo's avatar
neo committed
204 205 206
        sb.append(", assetGroupName=").append(assetGroupName);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
gary's avatar
gary committed
207
        sb.append(", assetGroupType=").append(assetGroupType);
208 209 210 211
        sb.append("]");
        return sb.toString();
    }
}