src/main/kotlin/cn/flightfeather/supervision/domain/ds1/entity/Problemtype.kt
@@ -5,122 +5,153 @@
import javax.persistence.Column
import javax.persistence.Id
import javax.persistence.Table
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@Table(name = "sm_t_problemtype")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value = "Problemtype")
public class Problemtype {
    @Id
    @Column(name = "PT_GUID")
    @ApiModelProperty(value = "主键16位guid")
    var guid: String? = null
    @Column(name = "PT_Name")
    @ApiModelProperty(value = "问题名称")
    var name: String? = null
    /**
     * 从值域表获取
     */
    @Column(name = "PT_TaskTypeID")
    @ApiModelProperty(value = "适配任务类型id")
    var tasktypeid: Byte? = null
    /**
     * 从值域表获取
     */
    @Column(name = "PT_TaskType")
    @ApiModelProperty(value = "适配任务类型名称")
    var tasktype: String? = null
    /**
     * 从值域表获取
     */
    @Column(name = "PT_ScenseTypeID")
    @ApiModelProperty(value = "适配场景类型id")
    var scensetypeid: Byte? = null
    /**
     * 从值域表获取
     */
    @Column(name = "PT_ScenseType")
    @ApiModelProperty(value = "适配场景类型名称")
    var scensetype: String? = null
    /**
     * 从值域表获取
     */
    @Column(name = "PT_ScenseSubTypeID")
    @ApiModelProperty(value = "适配子场景类型id")
    var scensesubtypeid: Byte? = null
    /**
     * 从值域表获取
     */
    @Column(name = "PT_ScenseSubType")
    @ApiModelProperty(value = "适配子场景类型名称")
    var scensesubtype: String? = null
    @Column(name = "PT_ProvinceCode")
    @ApiModelProperty(value = "省份编号")
    var provincecode: String? = null
    @Column(name = "PT_ProvinceName")
    @ApiModelProperty(value = "省份")
    var provincename: String? = null
    @Column(name = "PT_CityCode")
    @ApiModelProperty(value = "城市编号")
    var citycode: String? = null
    @Column(name = "PT_CityName")
    @ApiModelProperty(value = "城市")
    var cityname: String? = null
    @Column(name = "PT_DistrictCode")
    @ApiModelProperty(value = "区县编号")
    var districtcode: String? = null
    @Column(name = "PT_DistrictName")
    @ApiModelProperty(value = "区县")
    var districtname: String? = null
    @Column(name = "PT_TownCode")
    @ApiModelProperty(value = "街镇编号")
    var towncode: String? = null
    @Column(name = "PT_TownName")
    @ApiModelProperty(value = "街镇")
    var townname: String? = null
    /**
     * 从值域表获取
     */
    @Column(name = "PT_TypeID")
    @ApiModelProperty(value = "问题所属类型id")
    var typeid: Byte? = null
    /**
     * 从值域表获取
     */
    @Column(name = "PT_TypeName")
    @ApiModelProperty(value = "问题所属类型名称")
    var typename: String? = null
    @Column(name = "PT_Description")
    @ApiModelProperty(value = "问题描述")
    var description: String? = null
    /**
     * 从UserInfo里取值
     */
    @Column(name = "PT_UserGUID")
    @ApiModelProperty(value = "编辑用户id")
    var userguid: String? = null
    @Column(name = "PT_UserName")
    @ApiModelProperty(value = "编辑用户名称")
    var username: String? = null
    /**
     * 从UserInfo里取值
     */
    @Column(name = "PT_RealName")
    @ApiModelProperty(value = "编辑用户昵称")
    var realname: String? = null
    @Column(name = "PT_CreateDate")
    @ApiModelProperty(value = "创建时间")
    var createdate: Date? = null
    @Column(name = "PT_UpdateDate")
    @ApiModelProperty(value = "更新时间")
    var updatedate: Date? = null
    @Column(name = "PT_Extension1")
    @ApiModelProperty(value = "扩展字段一")
    var extension1: String? = null
    @Column(name = "PT_Extension2")
    @ApiModelProperty(value = "扩展字段二")
    var extension2: String? = null
    @Column(name = "PT_Extension3")
    @ApiModelProperty(value = "扩展字段三")
    var extension3: String? = null
    @Column(name = "PT_Remark")
    @ApiModelProperty(value = "备注")
    var remark: String? = null
}