using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IStation.Application
{
///
/// 更新对象地图信息
///
public class UpdateObjectMapInfoInput
{
///
/// 标识
///
[Required, Range(1, long.MaxValue, ErrorMessage = "ID 必须大于0")]
public long ID { get; set; }
///
/// 客户标识
///
[Required, Range(1, long.MaxValue, ErrorMessage = "CorpID 必须大于0")]
public long CorpID { get; set; }
///
/// 对象名称
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string ObjectName { get; set; }
///
/// 地图种类
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string Kind { get; set; }
///
/// 目的
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string Purpose { get; set; }
///
/// 地图形状
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string Shape { get; set; }
///
/// 地图位置
///
[Required, DataValidation(AllowEmptyStrings = false)]
public string Position { get; set; }
}
}